]> 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)
commitd6a819a7bd59031c66248260f695dfb464344d80
tree8e8683839b8c7cc9a7df181fb070396f4aca03f5
parent0401738dd3ef1d92ec9319765c3489c5bde4b7b7
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