From: Eric Paris Date: Wed, 9 Apr 2008 18:08:35 +0000 (-0400) Subject: SELinux: don't BUG if fs reuses a superblock X-Git-Tag: v2.6.25-rc9~32^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a55261716e838f188598ab3d7a0abf9cf1338f8;p=pandora-kernel.git SELinux: don't BUG if fs reuses a superblock I (wrongly) assumed that nfs_xdev_get_sb() would not ever share a superblock and so cloning mount options would always be correct. Turns out that isn't the case and we could fall over a BUG_ON() that wasn't a BUG at all. Since there is little we can do to reconcile different mount options this patch just leaves the sb alone and the first set of options wins. Signed-off-by: Eric Paris Acked-by: Stephen Smalley Acked-by: Trond Myklebust Signed-off-by: James Morris --- Reading git-diff-tree failed