diff options
author | 2010-03-17 13:47:45 +0100 | |
---|---|---|
committer | 2010-03-27 11:19:14 +0100 | |
commit | 59fe27c0a8173a74b105debc803b97582028c90b (patch) | |
tree | 6011317b8da26f879989a4b654aedf6549181968 /security/selinux/netlink.c | |
parent | Open segment file before using it (diff) | |
download | wireguard-linux-59fe27c0a8173a74b105debc803b97582028c90b.tar.xz wireguard-linux-59fe27c0a8173a74b105debc803b97582028c90b.zip |
Limit max_pages for insane devices
Intel SSDs have a limit of 0xffff as queue_max_hw_sectors(q). Such a
limit may make sense from a hardware pov, but it causes bio_alloc() to
return NULL.
Signed-off-by: Joern Engel <joern@logfs.org>
Diffstat (limited to 'security/selinux/netlink.c')
0 files changed, 0 insertions, 0 deletions