From: Jiri Slaby Date: Fri, 5 Mar 2010 21:42:42 +0000 (-0800) Subject: fs: use rlimit helpers X-Git-Tag: v2.6.34-rc1~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d554ed895dc8f293cc712c71f14b101ace82579a;p=pandora-kernel.git 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 Cc: Alexander Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed