]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipc/mqueue: simplify reading msgqueue limit
authorDavidlohr Bueso <dave@gnu.org>
Wed, 16 Nov 2011 23:41:48 +0000 (10:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 29 Nov 2011 03:45:08 +0000 (14:45 +1100)
commitb3225f3515daec3d10bfd875c56cd6406a21942f
tree8f269310813b02a37e1989f646840d63d4e3e171
parent2e2adbcffaab1ead70602a2cdcf2d8781424a5b2
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