]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: fix ei_update_lock lock ordering
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 4 Jul 2024 21:10:29 +0000 (17:10 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Jul 2024 23:00:11 +0000 (19:00 -0400)
commitf369de82679f4f71d4f5e8a3149a80ebc1bfc987
tree43e2ff0410742e24e7c8a78a0f87a63d463efd53
parentcdda2126ab0dfeafc52c725f808baed7ea26d0b5
bcachefs: fix ei_update_lock lock ordering

ei_update_lock is largely vestigal and will probably be removed, but
we're not ready for that just yet.

this fixes some lockdep splats with the new lockdep support for btree
node locks; they're harmless, since we were taking ei_update_lock before
actually locking any btree nodes, but "any btree nodes locked" are now
tracked at the btree_trans level.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/acl.c
fs/bcachefs/fs.c