From: Al Viro Date: Sat, 23 Feb 2013 03:45:42 +0000 (-0500) Subject: get rid of unprotected dereferencing of mnt->mnt_ns X-Git-Tag: v3.9-rc1~84^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b40bc90abd126bcc5da5658059b8e72e285e559;p=pandora-kernel.git get rid of unprotected dereferencing of mnt->mnt_ns It's safe only under namespace_sem or vfsmount_lock; all places in fs/namespace.c that want mnt->mnt_ns->user_ns actually want to use current->nsproxy->mnt_ns->user_ns (note the calls of check_mnt() in there). Cc: stable@vger.kernel.org Signed-off-by: Al Viro --- Reading git-diff-tree failed