quota: rename dquot_active() to inode_quota_active()
authorBaokun Li <libaokun1@huawei.com>
Fri, 30 Jun 2023 11:08:19 +0000 (19:08 +0800)
committerJan Kara <jack@suse.cz>
Mon, 3 Jul 2023 17:00:19 +0000 (19:00 +0200)
commit4b9bdfa16535de8f49bf954aeed0f525ee2fc322
treeb780802fceb46b24d308dbe28bf319d1a4580b06
parent024128477809f8073d870307c8157b8826ebfd08
quota: rename dquot_active() to inode_quota_active()

Now we have a helper function dquot_dirty() to determine if dquot has
DQ_MOD_B bit. dquot_active() can easily be misunderstood as a helper
function to determine if dquot has DQ_ACTIVE_B bit. So we avoid this by
renaming it to inode_quota_active() and later on we will add the helper
function dquot_active() to determine if dquot has DQ_ACTIVE_B bit.

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