diff options
| author | 2018-03-12 14:48:09 +0200 | |
|---|---|---|
| committer | 2018-03-31 01:26:56 +0200 | |
| commit | d87ff75863e92a500538ab53318c5740f196631e (patch) | |
| tree | bd59a768bc0879b6dc78e42a1d2a2aaa1bf1ecb2 /fs/btrfs/backref.c | |
| parent | btrfs: Use sizeof directly instead of a constant variable (diff) | |
| download | linux-dev-d87ff75863e92a500538ab53318c5740f196631e.tar.xz linux-dev-d87ff75863e92a500538ab53318c5740f196631e.zip | |
btrfs: Handle error from btrfs_uuid_tree_rem call in _btrfs_ioctl_set_received_subvol
As with every function which deals with modifying the btree
btrfs_uuid_tree_rem can fail for any number of reasons (ie. EIO/ENOMEM).
Handle return error value from this function gracefully by aborting the
transaction.
Fixes: dd5f9615fc5c ("Btrfs: maintain subvolume items in the UUID tree")
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/backref.c')
0 files changed, 0 insertions, 0 deletions
