]> www.infradead.org Git - users/willy/xarray.git/commit
bcachefs: fix restart handling in bch2_rename2()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 15 Oct 2024 02:18:12 +0000 (22:18 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 18 Oct 2024 04:49:47 +0000 (00:49 -0400)
commit74ec2f302402c4cfd172f7254ae0e5b851e31b0a
tree76dbba6442225d749f22b37d1265bea7a6e16964
parent5e3b72324d32629fa013f86657308f3dbc1115e1
bcachefs: fix restart handling in bch2_rename2()

This should be impossible to hit in practice; the first lookup within a
transaction won't return a restart due to lock ordering, but we're
adding fault injection for transaction restarts and shaking out bugs.

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