diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-12-24 14:20:01 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2015-04-03 03:34:17 +0200 |
commit | e819f152104c9f7c9fe50e1aecce6f5d4bf06d65 (patch) | |
tree | e2f08411e078cce21fe838aea1ed7d9ca3be7812 /fs/freevxfs | |
parent | mnt: Use hlist_move_list in namespace_unlock (diff) | |
download | linux-e819f152104c9f7c9fe50e1aecce6f5d4bf06d65.tar.xz linux-e819f152104c9f7c9fe50e1aecce6f5d4bf06d65.zip |
mnt: Improve the umount_tree flags
- Remove the unneeded declaration from pnode.h
- Mark umount_tree static as it has no callers outside of namespace.c
- Define an enumeration of umount_tree's flags.
- Pass umount_tree's flags in by name
This removes the magic numbers 0, 1 and 2 making the code a little
clearer and makes it possible for there to be lazy unmounts that don't
propagate. Which is what __detach_mounts actually wants for example.
Cc: stable@vger.kernel.org
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'fs/freevxfs')
0 files changed, 0 insertions, 0 deletions