]> www.infradead.org Git - users/dwmw2/linux.git/commit
gfs2: Get rid of some unnecessary quota locking
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 10 Jun 2024 14:31:22 +0000 (16:31 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Thu, 20 Jun 2024 14:38:13 +0000 (16:38 +0200)
commit8d89e068deccb4f34d412df4042f37a75e126259
tree1dd5afe3cbb33a14cfeb0f8f88899a9aa69ec960
parentd5563f42f59ed2cddf1021a34c9cdd8f4a89021c
gfs2: Get rid of some unnecessary quota locking

With the locking the previous patch has introduced for each struct
gfs2_quota_data object, sd_quota_mutex has become largely irrelevant.
By waiting on the buffer head instead of waiting on the mutex in
get_bh(), it becomes completely irrelevant and can be removed.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/incore.h
fs/gfs2/ops_fstype.c
fs/gfs2/quota.c