commit | 2c536799f1bde905bbacf7af3aa6be3f4de66005 | [log] [tgz] |
---|---|---|
author | Jeff Mahoney <jeffm@suse.com> | Mon Oct 03 23:22:41 2011 -0400 |
committer | David Sterba <dsterba@suse.cz> | Thu Mar 22 01:45:36 2012 +0100 |
tree | 54f306bf4320d97e73f9728268a99910b234d048 | |
parent | 3fbe5c02ae5a59053d779392b9a12aa8f6d6198e [diff] |
btrfs: btrfs_drop_snapshot should return int Commit cb1b69f4 (Btrfs: forced readonly when btrfs_drop_snapshot() fails) made btrfs_drop_snapshot return void because there were no callers checking the return value. That is the wrong order to handle error propogation since the caller will have no idea that an error has occured and continue on as if nothing went wrong. Signed-off-by: Jeff Mahoney <jeffm@suse.com>