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: NDavidlohr Bueso <dave@gnu.org> Acked-by: NKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: NAndrew Morton <akpm@linux-foundation.org> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录