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:
23c671a
)
Btrfs: fix wrong search path initialization before searching tree root
author
Wang Shilong
<wangsl.fnst@cn.fujitsu.com>
Tue, 14 Jan 2014 16:26:43 +0000
(
00:26
+0800)
committer
Chris Mason
<clm@fb.com>
Tue, 28 Jan 2014 21:20:37 +0000
(13:20 -0800)
To search tree root without transaction protection, we should neither search commit
root nor skip locking here, fix it.
Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/send.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/send.c
b/fs/btrfs/send.c
index 84aed2f30aa272efda7434ff24f1ffeac890429c..aa60cbe7066ca8f3b720cca8e25aec6e0e046c8f 100644
(file)
--- a/
fs/btrfs/send.c
+++ b/
fs/btrfs/send.c
@@
-2095,7
+2095,7
@@
static int send_subvol_begin(struct send_ctx *sctx)
char *name = NULL;
int namelen;
- path =
alloc_path_for_send
();
+ path =
btrfs_alloc_path
();
if (!path)
return -ENOMEM;