btrfs: remove obsolete comment in btrfs_clean_one_deleted_snapshot
authorDavid Sterba <dsterba@suse.cz>
Wed, 5 Feb 2014 01:03:47 +0000 (02:03 +0100)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:37:07 +0000 (13:37 -0700)
The comment applied when there was a BUG_ON.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/transaction.c

index d89c6d3542cab4c55372954ae97e9e32ec1ba443..977717b45bf7fdf0c2edd75d831252f97558d65d 100644 (file)
@@ -1981,9 +1981,6 @@ int btrfs_clean_one_deleted_snapshot(struct btrfs_root *root)
                ret = btrfs_drop_snapshot(root, NULL, 0, 0);
        else
                ret = btrfs_drop_snapshot(root, NULL, 1, 0);
-       /*
-        * If we encounter a transaction abort during snapshot cleaning, we
-        * don't want to crash here
-        */
+
        return (ret < 0) ? 0 : 1;
 }