diff options
-rw-r--r-- | fs/btrfs/transaction.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index d89c6d3542ca..977717b45bf7 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -1981,9 +1981,6 @@ int btrfs_clean_one_deleted_snapshot(struct btrfs_root *root) | |||
1981 | ret = btrfs_drop_snapshot(root, NULL, 0, 0); | 1981 | ret = btrfs_drop_snapshot(root, NULL, 0, 0); |
1982 | else | 1982 | else |
1983 | ret = btrfs_drop_snapshot(root, NULL, 1, 0); | 1983 | ret = btrfs_drop_snapshot(root, NULL, 1, 0); |
1984 | /* | 1984 | |
1985 | * If we encounter a transaction abort during snapshot cleaning, we | ||
1986 | * don't want to crash here | ||
1987 | */ | ||
1988 | return (ret < 0) ? 0 : 1; | 1985 | return (ret < 0) ? 0 : 1; |
1989 | } | 1986 | } |