Don't bother with check_mnt() in do_add_mount() on shrinkable ones
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 7 Apr 2009 16:21:18 +0000 (12:21 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 12 Jun 2009 01:35:59 +0000 (21:35 -0400)
commitdd5cae6e9772ecc62fd374f7a8ec10eb51c96c4d
tree48cfed52f4cc4fc9e2d91b1c8646f438f2f0e110
parent5b857119538daac7118c1364d7ff3613f12b84d3
Don't bother with check_mnt() in do_add_mount() on shrinkable ones

These guys are what we add as submounts; checks for "is that attached in
our namespace" are simply irrelevant for those and counterproductive for
use of private vfsmount trees a-la what NFS folks want.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c