]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ipc/mqueue: simplify reading msgqueue limit
authorDavidlohr Bueso <dave@gnu.org>
Thu, 8 Dec 2011 04:42:54 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Dec 2011 06:43:37 +0000 (17:43 +1100)
commite67d1aa792bba0f62d0b50f6fe7bb246b1cff666
treeee10f19aa5d3e6834986eb5e4d43a77461c2eca3
parentc44221900e317a1e217486b01e66e85175e8a306
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ipc/mqueue.c