Commit 32471dc2ba287f0bb8ac9af65c46f089965191f2
Committed by
Chris Mason
1 parent
9e82bf0141
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
btrfs: remove obsolete comment in btrfs_clean_one_deleted_snapshot
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>
Showing 1 changed file with 1 additions and 4 deletions Side-by-side Diff
fs/btrfs/transaction.c
... | ... | @@ -1981,10 +1981,7 @@ |
1981 | 1981 | ret = btrfs_drop_snapshot(root, NULL, 0, 0); |
1982 | 1982 | else |
1983 | 1983 | ret = btrfs_drop_snapshot(root, NULL, 1, 0); |
1984 | - /* | |
1985 | - * If we encounter a transaction abort during snapshot cleaning, we | |
1986 | - * don't want to crash here | |
1987 | - */ | |
1984 | + | |
1988 | 1985 | return (ret < 0) ? 0 : 1; |
1989 | 1986 | } |