]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb66110dcb81c3d76774ec42233c9e52301d3fe8b
tree2c888b1dc0b3743855d795a1a02730637d6ba0aa
parentf8e1a110efef68fc6cee54d7c748894d4c5d9a12
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