bcachefs: bch2_trans_update() is now __must_check
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 5 Dec 2021 05:30:49 +0000 (00:30 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:18 +0000 (17:09 -0400)
commit94a3e1a6c1bd441b58972ee0216593fc0b09ee75
treec1c51180768769af2f00c7653122329c85b4f93c
parent1d81313f22205bfd844bd2e13e7e3ea5d50cd673
bcachefs: bch2_trans_update() is now __must_check

With snapshots, bch2_trans_update() has to check if we need a whitout,
which can cause a transaction restart, so this is important now.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_update.h
fs/bcachefs/btree_update_leaf.c
fs/bcachefs/buckets.c
fs/bcachefs/dirent.c
fs/bcachefs/subvolume.c
fs/bcachefs/tests.c