]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
quota: rename dquot_active() to inode_quota_active()
authorBaokun Li <libaokun1@huawei.com>
Fri, 30 Jun 2023 11:08:19 +0000 (19:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:35 +0000 (12:22 +0200)
commitbd0a6452f070522d46c31bd143b7980e80660e83
tree78af8fcd6012ee5ee525efe6f6e8f7dbecf7b8ca
parent5b8240223407239755b631f324577946b043edac
quota: rename dquot_active() to inode_quota_active()

[ Upstream commit 4b9bdfa16535de8f49bf954aeed0f525ee2fc322 ]

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>
Stable-dep-of: dabc8b207566 ("quota: fix dqput() to follow the guarantees dquot_srcu should provide")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/quota/dquot.c