summaryrefslogtreecommitdiff
path: root/lib/random32.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@gnu.org>2012-01-21 02:34:01 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-23 20:38:47 +0400
commit2a4e64b8f6bcbf23ddd375b78342051ae8862284 (patch)
tree90e753679ca8ff867dc42e84e5a33c90f813c244 /lib/random32.c
parente9a4593cc5e36c6d47c87b439cb41c2568e7395f (diff)
downloadlinux-2a4e64b8f6bcbf23ddd375b78342051ae8862284.tar.xz
ipc/mqueue: simplify reading msgqueue limit
Because the current task is being used to get the limit, we can simply use rlimit() instead of task_rlimit(). Signed-off-by: Davidlohr Bueso <dave@gnu.org> Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions