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:
8e56338
)
Btrfs: handle EAGAIN case properly in btrfs_drop_snapshot()
author
Wang Shilong
<
[email protected]
>
Tue, 7 Jan 2014 09:26:58 +0000
(17:26 +0800)
committer
Chris Mason
<
[email protected]
>
Tue, 28 Jan 2014 21:20:23 +0000
(13:20 -0800)
We may return early in btrfs_drop_snapshot(), we shouldn't
call btrfs_std_err() for this case, fix it.
Cc:
[email protected]
Signed-off-by: Wang Shilong <
[email protected]
>
Signed-off-by: Josef Bacik <
[email protected]
>
Signed-off-by: Chris Mason <
[email protected]
>
fs/btrfs/extent-tree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index 41fe80b9db47eca3cca58d2ff2e145d19c30b753..77acc08738959b4c50e0e01cced58cd8e7d308df 100644
(file)
--- a/
fs/btrfs/extent-tree.c
+++ b/
fs/btrfs/extent-tree.c
@@
-7835,7
+7835,7
@@
out:
*/
if (!for_reloc && root_dropped == false)
btrfs_add_dead_root(root);
- if (err)
+ if (err
&& err != -EAGAIN
)
btrfs_std_error(root->fs_info, err);
return err;
}