]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
f2fs: remove some redundant codes in f2fs_quota_enable
authorZhiguo Niu <zhiguo.niu@unisoc.com>
Wed, 17 Dec 2025 07:45:29 +0000 (15:45 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 1 Jan 2026 03:26:08 +0000 (03:26 +0000)
commit3250bd41d95ccdaa157ad5f128c1596e353ee7e0
treef459f292be1209ff37d11d5b76c2343585dd40fe
parent4a210a5be279bfd5514dac3f5ef2c737cd984e84
f2fs: remove some redundant codes in f2fs_quota_enable

1. qf_inum has been got and checked in its caller f2fs_enable_quotas
2. f2fs_sb_has_quota_ino has bee checked in its all callers
3. use sbi cleanup F2FS_SB(sb)

Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c