diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-03-12 13:48:09 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 01:26:56 +0200 |
commit | d87ff75863e92a500538ab53318c5740f196631e (patch) | |
tree | bd59a768bc0879b6dc78e42a1d2a2aaa1bf1ecb2 /crypto/tea.c | |
parent | btrfs: Use sizeof directly instead of a constant variable (diff) | |
download | linux-d87ff75863e92a500538ab53318c5740f196631e.tar.xz linux-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 'crypto/tea.c')
0 files changed, 0 insertions, 0 deletions