bcachefs: Fix error path in bch2_snapshot_set_equiv()
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 28 Mar 2022 20:31:26 +0000 (16:31 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:28 +0000 (17:09 -0400)
commit81cdc8f3070561786a906c66d697666e6a3319b9
tree455c370956b19f0270283f3ed1f1bbe09d2b9c08
parent7fda0f08fa86731f057367ca36054d29d0c0344c
bcachefs: Fix error path in bch2_snapshot_set_equiv()

We weren't properly catching errors from snapshot_live() - oops.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/subvolume.c