]> bbs.cooldavid.org Git - net-next-2.6.git/commit
RDMA: Use rlimit helpers
authorJiri Slaby <jslaby@suse.cz>
Thu, 11 Feb 2010 23:40:48 +0000 (15:40 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 11 Feb 2010 23:40:48 +0000 (15:40 -0800)
commitccbe9f0b11b137c9453771a7ca3bf417dc7ce152
tree0d05240120bb38bb5bfcb4fe3b88aa40cc1dfb94
parent676ad585531e965416fd958747894541dabcec96
RDMA: Use rlimit helpers

Make sure compiler won't do weird things with limits by using the
rlimit helpers added in 3e10e716 ("resource: add helpers for fetching
rlimits").  E.g. fetching them twice may return 2 different values
after writable limits are implemented.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/umem.c
drivers/infiniband/hw/ipath/ipath_user_pages.c