From: Chao Yu Date: Mon, 3 Mar 2025 03:25:00 +0000 (+0800) Subject: f2fs: fix to call f2fs_recover_quota_end() correctly X-Git-Tag: io_uring-6.15-20250403~73^2~53 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=d8f5b91d77a651705d3f76ba0ebd5d7981533333;p=linux-block.git f2fs: fix to call f2fs_recover_quota_end() correctly f2fs_recover_quota_begin() and f2fs_recover_quota_end() should be called in pair, there is some cases we may skip calling f2fs_recover_quota_end(), fix it. Fixes: e1bb7d3d9cbf ("f2fs: fix to recover quota data correctly") Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 7a8fcc1e278c..3c875dc07266 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -4805,10 +4805,10 @@ try_onemore: } } +reset_checkpoint: #ifdef CONFIG_QUOTA f2fs_recover_quota_end(sbi, quota_enabled); #endif -reset_checkpoint: /* * If the f2fs is not readonly and fsync data recovery succeeds, * write pointer consistency of cursegs and other zones are already