]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ipc/mqueue: simplify reading msgqueue limit
authorDavidlohr Bueso <dave@gnu.org>
Wed, 30 Nov 2011 04:12:05 +0000 (15:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:14:08 +0000 (15:14 +1100)
commita503bdb6d329a174e4cf31c515f210c75f6c5837
treedac39009138200c49d7b06f51ce6dfddb1618737
parentf5cfcd875bac252695198f349d4b93d1c2f1c6d9
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