diff options
author | Davidlohr Bueso <[email protected]> | 2012-01-20 14:34:01 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-01-23 08:38:47 -0800 |
commit | 2a4e64b8f6bcbf23ddd375b78342051ae8862284 (patch) | |
tree | 90e753679ca8ff867dc42e84e5a33c90f813c244 /net/lapb/lapb_timer.c | |
parent | e9a4593cc5e36c6d47c87b439cb41c2568e7395f (diff) |
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 <[email protected]>
Acked-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions