Skip to content

Commit

Permalink
quota: autoload the quota_v2 module for QFMT_VFS_V1 quota format
Browse files Browse the repository at this point in the history
Otherwise, ext4 file systems with the quota featured enable will get a
very confusing "No such process" error message if the quota code is
built as a module and the quota_v2 module has not been loaded.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Acked-by: Jan Kara <jack@suse.cz>
Cc: stable@vger.kernel.org
  • Loading branch information
Theodore Ts'o committed Jan 25, 2013
1 parent 72ba745 commit c3ad83d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/linux/quota.h
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ struct quota_module_name {
#define INIT_QUOTA_MODULE_NAMES {\
{QFMT_VFS_OLD, "quota_v1"},\
{QFMT_VFS_V0, "quota_v2"},\
{QFMT_VFS_V1, "quota_v2"},\
{0, NULL}}

#endif /* _QUOTA_ */

0 comments on commit c3ad83d

Please sign in to comment.