Theodore Ts'o d65d87a074 ext4: improve explanation of a mount failure caused by a misconfigured kernel
If CONFIG_QFMT_V2 is not enabled, but CONFIG_QUOTA is enabled, when a
user tries to mount a file system with the quota or project quota
enabled, the kernel will emit a very confusing messsage:

    EXT4-fs warning (device vdc): ext4_enable_quotas:5914: Failed to enable quota tracking (type=0, err=-3). Please run e2fsck to fix.
    EXT4-fs (vdc): mount failed

We will now report an explanatory message indicating which kernel
configuration options have to be enabled, to avoid customer/sysadmin
confusion.

Link: https://lore.kernel.org/r/20200215012738.565735-1-tytso@mit.edu
Google-Bug-Id: 149093531
Fixes: 7c319d328505b778 ("ext4: make quota as first class supported feature")
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
2020-02-15 09:53:45 -05:00
..
2019-09-27 15:10:34 -07:00
2020-01-28 15:18:23 -08:00
2019-09-19 09:42:37 -07:00
2019-11-11 09:21:59 -05:00
\n
2019-11-30 11:16:07 -08:00
2020-01-28 15:31:03 -08:00
2019-12-05 13:20:11 -08:00
2019-09-19 09:42:37 -07:00
2019-09-19 09:42:37 -07:00
2019-12-14 11:13:54 -08:00
2019-09-19 09:42:37 -07:00
2020-01-14 13:28:28 -08:00
2019-12-01 14:00:59 -08:00
2019-11-30 10:44:49 -08:00
2019-08-07 21:51:47 -04:00
2020-01-29 19:38:34 -08:00
2020-01-29 18:53:37 -08:00
2020-01-29 18:53:37 -08:00
2019-10-14 15:04:01 -07:00
2019-12-08 14:37:36 +01:00