• Jeff Mahoney's avatar
    btrfs: btrfs_drop_snapshot should return int · 2c536799
    Jeff Mahoney authored
    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: default avatarJeff Mahoney <jeffm@suse.com>
    2c536799
extent-tree.c 211 KB