bcachefs: Handle errors in bch2_trans_mark_update()
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 18 Apr 2021 21:26:34 +0000 (17:26 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:01 +0000 (17:09 -0400)
commit04903131db3e09a6a074755071c46febc7e2449f
tree05f525ca6830b64e44d4e4d39884daf2bda8c5d1
parent6ad060b0eb45d2eaa5411be042bd3b53900f992e
bcachefs: Handle errors in bch2_trans_mark_update()

It's not actually the case that iterators are always checked here -
__bch2_trans_commit() checks for that after running triggers.

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