]> git.baikalelectronics.ru Git - kernel.git/commit
Pidns: fix badly converted mqueues pid handling
authorPavel Emelyanov <xemul@openvz.org>
Fri, 8 Feb 2008 12:19:21 +0000 (04:19 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 8 Feb 2008 17:22:29 +0000 (09:22 -0800)
commite810c73d755884b6284faab6d4ddd63d0123c02d
tree36cdf6421d0b26e8372dd1167a1ecd18f73fc3a5
parentd466c069f6734e931a53c512b25f14d17e1f2da5
Pidns: fix badly converted mqueues pid handling

When sending the pid namespaces patches I wrongly converted the tsk->tgid into
task_pid_vnr(tsk) in mqueue-s (the git id of this patch is
4bd343804ebaeaf6f91c4d199005efd4b34c0374).

The proper behavior is to get the task_tgid_vnr(tsk).

This seem to be the only mistake of that kind.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Balbir Singh <balbir@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/mqueue.c