projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: send, fix issuing write op when processing hole in no data mode
[linux-2.6-block.git]
/
fs
/
btrfs
/
send.c
diff --git
a/fs/btrfs/send.c
b/fs/btrfs/send.c
index f306c608dc2880f1811905e033c1219dd5e356cc..484e2af793de2a86fa206196661d47cda078f0c2 100644
(file)
--- a/
fs/btrfs/send.c
+++ b/
fs/btrfs/send.c
@@
-5005,6
+5005,9
@@
static int send_hole(struct send_ctx *sctx, u64 end)
u64 len;
int ret = 0;
+ if (sctx->flags & BTRFS_SEND_FLAG_NO_FILE_DATA)
+ return send_update_extent(sctx, offset, end - offset);
+
p = fs_path_alloc();
if (!p)
return -ENOMEM;