bcachefs: Check return code from need_whiteout_for_snapshot()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 28 Mar 2023 23:15:53 +0000 (19:15 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:58 +0000 (17:09 -0400)
commit2a6c302fb3a00bd74dfc3882698d290482bc5382
tree41b61442363928fd085ce6f35aca77cadc181c84
parente9b9e475eaef1c50e89072e4efc3910ff25a0552
bcachefs: Check return code from need_whiteout_for_snapshot()

This could return a transaction restart; we need to check for that.

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