summaryrefslogtreecommitdiff
path: root/fs/btrfs/locking.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2021-03-12 15:25:24 -0500
committerDavid Sterba <dsterba@suse.com>2021-04-19 17:25:21 +0200
commit253e258c34262c50ce2622b38d2769911a9cddfd (patch)
treee0c3fe610bb6eb925aa94311b9d010fbc261548f /fs/btrfs/locking.h
parent0e9873e2fe43ea098e70c30c996ebb90a22cce43 (diff)
downloadlwn-253e258c34262c50ce2622b38d2769911a9cddfd.tar.gz
lwn-253e258c34262c50ce2622b38d2769911a9cddfd.zip
btrfs: handle errors in reference count manipulation in replace_path
If any of the reference count manipulation stuff fails in replace_path we need to abort the transaction, as we've modified the blocks already. We can simply break at this point and everything will be cleaned up. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/locking.h')
0 files changed, 0 insertions, 0 deletions