You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Btrfs: fix wrong search path initialization before searching tree root
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>
This commit is contained in:
committed by
Chris Mason
parent
23c671a588
commit
ffcfaf8179
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user