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>
This commit is contained in:
Jiri Slaby 2010-02-11 15:40:48 -08:00 • committed by Roland Dreier
commit ccbe9f0b11
2 changed files with 2 additions and 3 deletions