aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-06-09 15:41:41 -0400
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-10-22 17:10:03 -0400
commitb0e8c75e40a863dd40ecdf8fd6f8cdceacb965e5 (patch)
tree337926d3fca8ddf4550eca6f026462ed2f606384 /lib
parentbcachefs: don't spin in rebalance when background target is not usable (diff)
downloadlinux-b0e8c75e40a863dd40ecdf8fd6f8cdceacb965e5.tar.gz
linux-b0e8c75e40a863dd40ecdf8fd6f8cdceacb965e5.tar.bz2
linux-b0e8c75e40a863dd40ecdf8fd6f8cdceacb965e5.zip
bcachefs: Fix subvol deletion deadlock
d_prune_aliases() may call bch2_evict_inode(), which needs c->vfs_inodes_list_lock. Fix this by always calling igrab() before putting the inodes onto our disposal list, and then calling d_prune_aliases() with c->vfs_inodes_lock dropped. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions