ext4: ignore quota mount options if the quota feature is enabled
authorTheodore Ts'o <tytso@mit.edu>
Sun, 3 Apr 2016 21:03:37 +0000 (17:03 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 3 Apr 2016 21:03:37 +0000 (17:03 -0400)
commitc325a67c72903e1cc30e990a15ce745bda0dbfde
tree9f89f45b2b835db915531d80c6c68ad5aea3d314
parent4762cc3fbbd89e5fd316d6e4d3244a8984444f8d
ext4: ignore quota mount options if the quota feature is enabled

Previously, ext4 would fail the mount if the file system had the quota
feature enabled and quota mount options (used for the older quota
setups) were present.  This broke xfstests, since xfs silently ignores
the usrquote and grpquota mount options if they are specified.  This
commit changes things so that we are consistent with xfs; having the
mount options specified is harmless, so no sense break users by
forbidding them.

Cc: stable@vger.kernel.org
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c