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)
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>

No differences found