VFS: Add shrink_submounts()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Jun 2006 13:34:17 +0000 (09:34 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 9 Jun 2006 13:34:17 +0000 (09:34 -0400)
commit5528f911b4c43a5de5da34bcbd7e3f2a62503617
tree2c888b1dc0b3743855d795a1a02730637d6ba0aa
parent1f5ce9e93aa96a867f195ed45f6f77935175f12e
VFS: Add shrink_submounts()

Allow a submount to be marked as being 'shrinkable' by means of the
vfsmount->mnt_flags, and then add a function 'shrink_submounts()' which
attempts to recursively unmount these submounts.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/namespace.c
include/linux/mount.h