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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2016 06:42:13 +0000 (15:42 +0900)
commitee8516a130918aa1421d426ec978985240a672ed
tree354f5287146d8b3729cff56f26211848d90c95e7
parent321299a96e20cbc6aac615a4daae95f42235b467
ext4: ignore quota mount options if the quota feature is enabled

commit c325a67c72903e1cc30e990a15ce745bda0dbfde upstream.

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.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/super.c