quota: Replace all block number checking with helper function
authorZhihao Cheng <chengzhihao1@huawei.com>
Fri, 23 Sep 2022 13:45:53 +0000 (21:45 +0800)
committerJan Kara <jack@suse.cz>
Thu, 29 Sep 2022 13:37:28 +0000 (15:37 +0200)
commit3fc61e0e96a3261aacfd3150fb3a9228f7ce5dd6
tree252b335bdbaa94cbb157009115ee8542352d2c01
parent6c8ea8b8cd4722efd419f91ca46a2dc81b7d89a3
quota: Replace all block number checking with helper function

Cleanup all block checking places, replace them with helper function
do_check_range().

Link: https://lore.kernel.org/r/20220923134555.2623931-3-chengzhihao1@huawei.com
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/quota_tree.c