From: Eric W. Biederman Date: Wed, 24 Dec 2014 13:20:01 +0000 (-0600) Subject: mnt: Improve the umount_tree flags X-Git-Tag: omap-for-v4.1/fixes-rc1~99^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e819f152104c9f7c9fe50e1aecce6f5d4bf06d65;p=pandora-kernel.git 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" --- Reading git-diff-tree failed