diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index e22960e23501..0bfcc31d94d7 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -18,13 +18,13 @@ | |||
18 | 18 | ||
19 | #include <linux/fs.h> | 19 | #include <linux/fs.h> |
20 | #include <linux/blkdev.h> | 20 | #include <linux/blkdev.h> |
21 | #include <linux/crc32c.h> | ||
22 | #include <linux/scatterlist.h> | 21 | #include <linux/scatterlist.h> |
23 | #include <linux/swap.h> | 22 | #include <linux/swap.h> |
24 | #include <linux/radix-tree.h> | 23 | #include <linux/radix-tree.h> |
25 | #include <linux/writeback.h> | 24 | #include <linux/writeback.h> |
26 | #include <linux/buffer_head.h> // for block_sync_page | 25 | #include <linux/buffer_head.h> // for block_sync_page |
27 | #include <linux/workqueue.h> | 26 | #include <linux/workqueue.h> |
27 | #include "crc32c.h" | ||
28 | #include "ctree.h" | 28 | #include "ctree.h" |
29 | #include "disk-io.h" | 29 | #include "disk-io.h" |
30 | #include "transaction.h" | 30 | #include "transaction.h" |
@@ -100,7 +100,7 @@ out: | |||
100 | 100 | ||
101 | u32 btrfs_csum_data(struct btrfs_root *root, char *data, u32 seed, size_t len) | 101 | u32 btrfs_csum_data(struct btrfs_root *root, char *data, u32 seed, size_t len) |
102 | { | 102 | { |
103 | return crc32c(seed, data, len); | 103 | return btrfs_crc32c(seed, data, len); |
104 | } | 104 | } |
105 | 105 | ||
106 | void btrfs_csum_final(u32 crc, char *result) | 106 | void btrfs_csum_final(u32 crc, char *result) |