[PATCH xfstests] _qmount: mount w/o selinux xattrs

Christoph Hellwig hch at infradead.org
Fri Jul 2 02:10:06 CDT 2010


On Thu, Jul 01, 2010 at 02:58:07PM -0500, Eric Sandeen wrote:
> when selinux is on it can change quota usage due to extra
> xattr blocks.
> 
> Mounting with a context prevents this.  We already do so
> for xfs in general because so many things look at detailed
> on-disk format, and extra xattrs confuses those tests.
> 
> For other filesystems, we've left selinux alone so far, 
> as that seemed the best way to test.
> 
> However, it throws quota accounting off, so add a fixup
> in _qmount()

What about just disabling selinux for all filesystems instead of just
XFS for the general case.




More information about the xfs mailing list