]> 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>
Wed, 13 Sep 2023 07:48:09 +0000 (09:48 +0200)
commitec2b2bcbed47f54b89953f6fe6d3ca43aed922a8
tree9bdd7ed33ae9b8d574ad7463c7a167c7ffe00451
parentc389a4c481aee0e9118732fa03ed5206ca4e188e
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