aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
-rw-r--r--fs/btrfs/free-space-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index ec23d43d0c35..9a897bf79538 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -423,7 +423,7 @@ static void io_ctl_set_crc(struct io_ctl *io_ctl, int index)
423 } 423 }
424 424
425 if (index == 0) 425 if (index == 0)
426 offset = sizeof(u32) * io_ctl->num_pages;; 426 offset = sizeof(u32) * io_ctl->num_pages;
427 427
428 crc = btrfs_csum_data(io_ctl->root, io_ctl->orig + offset, crc, 428 crc = btrfs_csum_data(io_ctl->root, io_ctl->orig + offset, crc,
429 PAGE_CACHE_SIZE - offset); 429 PAGE_CACHE_SIZE - offset);