quota: add new helper dquot_active()
authorBaokun Li <libaokun1@huawei.com>
Fri, 30 Jun 2023 11:08:20 +0000 (19:08 +0800)
committerJan Kara <jack@suse.cz>
Mon, 3 Jul 2023 17:00:19 +0000 (19:00 +0200)
commit33bcfafc48cb186bc4bbcea247feaa396594229e
treef7b7506b6594018a67d3b28d9670ebe4d5523f79
parent4b9bdfa16535de8f49bf954aeed0f525ee2fc322
quota: add new helper dquot_active()

Add new helper function dquot_active() to make the code more concise.

Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20230630110822.3881712-4-libaokun1@huawei.com>
fs/quota/dquot.c