Skip to content
Commit 2a4e64b8 authored by Davidlohr Bueso's avatar Davidlohr Bueso Committed by Linus Torvalds
Browse files

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: default avatarDavidlohr Bueso <dave@gnu.org>
Acked-by: default avatarKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e9a4593c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment