]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
quota: add new helper dquot_active()
authorBaokun Li <libaokun1@huawei.com>
Fri, 30 Jun 2023 11:08:20 +0000 (19:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:22:35 +0000 (12:22 +0200)
commit1df46e717ee96d9d9f434e811465dcff92874d74
tree783608e86d6655b6307cedb700fab2031e94a5ae
parentbd0a6452f070522d46c31bd143b7980e80660e83
quota: add new helper dquot_active()

[ Upstream commit 33bcfafc48cb186bc4bbcea247feaa396594229e ]

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>
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