From: Davidlohr Bueso Date: Fri, 20 Jan 2012 22:34:01 +0000 (-0800) Subject: ipc/mqueue: simplify reading msgqueue limit X-Git-Tag: v3.3-rc2~46^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a4e64b8f6bcbf23ddd375b78342051ae8862284;p=pandora-kernel.git 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 Acked-by: KOSAKI Motohiro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed