quota: factor out dquot_write_dquot()
authorBaokun Li <libaokun1@huawei.com>
Fri, 30 Jun 2023 11:08:18 +0000 (19:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:36 +0000 (09:42 +0200)
commit622789ebe197ed58702051432d545c628ac04509
tree63d9086954732317a5886086e40015469bc0c94b
parent25193037e08339bcb01026f739880a1d3e7873d9
quota: factor out dquot_write_dquot()

[ Upstream commit 024128477809f8073d870307c8157b8826ebfd08 ]

Refactor out dquot_write_dquot() to reduce duplicate code.

Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <20230630110822.3881712-2-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