From: Vitaliy Gusev Date: Thu, 17 Jan 2008 00:07:08 +0000 (+0000) Subject: pid-namespaces-vs-locks-interaction X-Git-Tag: v2.6.25-rc1~1060^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab1f16116527e42dec8aee176d673a41a881b809;p=pandora-kernel.git pid-namespaces-vs-locks-interaction fcntl(F_GETLK,..) can return pid of process for not current pid namespace (if process is belonged to the several namespaces). It is true also for pids in /proc/locks. So correct behavior is saving pointer to the struct pid of the process lock owner. Signed-off-by: Vitaliy Gusev Acked-by: Serge Hallyn Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed