]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: lock dquot buffer before detaching dquot from b_li_list
authorDarrick J. Wong <djwong@kernel.org>
Thu, 9 Jan 2025 00:54:02 +0000 (16:54 -0800)
committerCarlos Maiolino <cem@kernel.org>
Thu, 9 Jan 2025 17:36:44 +0000 (18:36 +0100)
commit4e7dfb45fe08b2b54d7fe2499fab0eeaa42004ad
tree168a133f771c56c0cbc5c0ee701326b96002d42c
parentba50dbf7a9e352d0c8a360069d70fdc961adf103
xfs: lock dquot buffer before detaching dquot from b_li_list

We have to lock the buffer before we can delete the dquot log item from
the buffer's log item list.

Cc: stable@vger.kernel.org # v6.13-rc3
Fixes: acc8f8628c3737 ("xfs: attach dquot buffer to dquot log item buffer")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_dquot.c