From: Valerie Aurora Date: Tue, 26 Jan 2010 19:20:47 +0000 (-0500) Subject: VFS: Clean up shared mount flag propagation X-Git-Tag: v2.6.34-rc1~205^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=495d6c9c6595ec7b37910dfd42634839431d21fd;p=pandora-kernel.git VFS: Clean up shared mount flag propagation The handling of mount flags in set_mnt_shared() got a little tangled up during previous cleanups, with the following problems: * MNT_PNODE_MASK is defined as a literal constant when it should be a bitwise xor of other MNT_* flags * set_mnt_shared() clears and then sets MNT_SHARED (part of MNT_PNODE_MASK) * MNT_PNODE_MASK could use a comment in mount.h * MNT_PNODE_MASK is a terrible name, change to MNT_SHARED_MASK This patch fixes these problems. Signed-off-by: Al Viro --- Reading git-diff-tree failed