]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix warning message in ext4_enable_quotas()
authorJunichi Uekawa <uekawa@google.com>
Sun, 29 Jul 2018 19:51:52 +0000 (15:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 29 Jul 2018 19:51:52 +0000 (15:51 -0400)
commit008a5316365a77bf867fc6a68fd9cd14c8650e06
tree8e8683839b8c7cc9a7df181fb070396f4aca03f5
parent21353a1d42998085b7ef0ada462e267fc989d139
ext4: fix warning message in ext4_enable_quotas()

Output the warning message before we clobber type and be -1 all the time.
The error message would now be

[    1.519791] EXT4-fs warning (device vdb): ext4_enable_quotas:5402:
Failed to enable quota tracking (type=0, err=-3). Please run e2fsck to fix.

Signed-off-by: Junichi Uekawa <uekawa@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
fs/ext4/super.c