mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 18:04:38 -04:00
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>
This commit is contained in:
committed by
Chris Mason
parent
9e82bf0141
commit
32471dc2ba
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user