projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e82bf0
)
btrfs: remove obsolete comment in btrfs_clean_one_deleted_snapshot
author
David Sterba
<dsterba@suse.cz>
Wed, 5 Feb 2014 01:03:47 +0000
(
02:03
+0100)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/fs/btrfs/transaction.c
b/fs/btrfs/transaction.c
index d89c6d3542cab4c55372954ae97e9e32ec1ba443..977717b45bf7fdf0c2edd75d831252f97558d65d 100644
(file)
--- a/
fs/btrfs/transaction.c
+++ b/
fs/btrfs/transaction.c
@@
-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;
}