btrfs: change insert_dirty_subvol to return errors
authorJosef Bacik <josef@toxicpanda.com>
Fri, 12 Mar 2021 20:25:17 +0000 (15:25 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:21 +0000 (17:25 +0200)
commitac54da6c37f1eb45218e107f9c924e4d7f054e5b
treee126d20b3574b6d5e5cbd3b5ed8027cd620361da
parent2dd8298eb3e90103f3cb36a975aee84bae66f218
btrfs: change insert_dirty_subvol to return errors

This will be able to return errors in the future, so change it to return
an error and handle the errors appropriately.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/relocation.c