[PATCH v2 0/2] ext4: fix quotas leak in __ext4_fill_super()

From: Baokun Li
Date: Sun Mar 26 2023 - 22:27:26 EST


V1->V2:
Add judgment for CONFIG_QUOTA to avoid warning
"label 'failed_mount9' defined but not used".
(Reported-by: kernel test robot <lkp@xxxxxxxxx>)

Baokun Li (2):
ext4: turning quotas off if mount failed after enable quotas
ext4: refactoring to use the unified helper ext4_quotas_off()

fs/ext4/super.c | 30 +++++++++++-------------------
1 file changed, 11 insertions(+), 19 deletions(-)

--
2.31.1