ext4: don't show usrquota/grpquota twice in /proc/mounts
authorTheodore Ts'o <tytso@mit.edu>
Thu, 11 Jul 2013 22:54:37 +0000 (18:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2013 01:21:33 +0000 (18:21 -0700)
commitbbb1d9216c9d8f5ac0aca90719512deae7f989ea
tree9bb36bae940a3bdfe8a3c019897fda80d8843c36
parentd860925657644b00b0fed703c647edcf2aa27975
ext4: don't show usrquota/grpquota twice in /proc/mounts

commit ad065dd01662ae22138899e6b1c8eeb3a529964f upstream.

We now print mount options in a generic fashion in
ext4_show_options(), so we shouldn't be explicitly printing the
{usr,grp}quota options in ext4_show_quota_options().

Without this patch, /proc/mounts can look like this:

 /dev/vdb /vdb ext4 rw,relatime,quota,usrquota,data=ordered,usrquota 0 0
                                      ^^^^^^^^              ^^^^^^^^

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