]> git.karo-electronics.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>
Mon, 12 Dec 2011 04:19:21 +0000 (15:19 +1100)
commita6c8aa1d454e0c80215db18c4f4d380877d27799
treef28484eb8ef39bde65a955b5bc5178b91d4f7447
parente0384561e0f7b94aafa6d7804194696ca702e50c
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