diff options
-rw-r--r-- | fs/btrfs/send.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index f306c608dc28..484e2af793de 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c | |||
@@ -5005,6 +5005,9 @@ static int send_hole(struct send_ctx *sctx, u64 end) | |||
5005 | u64 len; | 5005 | u64 len; |
5006 | int ret = 0; | 5006 | int ret = 0; |
5007 | 5007 | ||
5008 | if (sctx->flags & BTRFS_SEND_FLAG_NO_FILE_DATA) | ||
5009 | return send_update_extent(sctx, offset, end - offset); | ||
5010 | |||
5008 | p = fs_path_alloc(); | 5011 | p = fs_path_alloc(); |
5009 | if (!p) | 5012 | if (!p) |
5010 | return -ENOMEM; | 5013 | return -ENOMEM; |