Jiri Slaby d554ed895d fs: use rlimit helpers
Make sure compiler won't do weird things with limits.  E.g.  fetching them
twice may return 2 different values after writable limits are implemented.

I.e.  either use rlimit helpers added in commit 3e10e716abf3 ("resource:
add helpers for fetching rlimits") or ACCESS_ONCE if not applicable.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-06 11:26:29 -08:00
..
2010-03-06 11:26:29 -08:00
2010-03-03 13:00:18 -05:00
2009-10-08 07:36:38 -07:00
2009-05-15 15:32:45 +02:00
2009-10-29 07:39:25 -07:00
2007-10-17 08:42:48 -07:00
2009-09-23 07:39:29 -07:00
2009-12-16 12:19:59 +01:00
2009-01-05 12:27:44 +03:00
2010-03-03 13:00:18 -05:00
2010-03-06 11:26:24 -08:00