ext4: refactoring to use the unified helper ext4_quotas_off()
authorBaokun Li <libaokun1@huawei.com>
Mon, 27 Mar 2023 14:16:30 +0000 (22:16 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 26 Jun 2023 23:36:44 +0000 (19:36 -0400)
commitf3c1c42e0c40656e73f12ab5dcb1110f83ef8e65
treed1ba114466af3f22703477884abd011d5a668e11
parentd13f99632748462c32fc95d729f5e754bab06064
ext4: refactoring to use the unified helper ext4_quotas_off()

Rename ext4_quota_off_umount() to ext4_quotas_off(), and add type
parameter to replace open code in ext4_enable_quotas().

Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230327141630.156875-3-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c