Commit af4ff474 authored by Baokun Li's avatar Baokun Li Committed by Greg Kroah-Hartman
Browse files

quota: add new helper dquot_active()



[ Upstream commit 33bcfafc ]

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

Signed-off-by: default avatarBaokun Li <libaokun1@huawei.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Message-Id: <20230630110822.3881712-4-libaokun1@huawei.com>
Stable-dep-of: dabc8b20 ("quota: fix dqput() to follow the guarantees dquot_srcu should provide")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 905e316e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment