projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libbtrfsutil: always build libbtrfsutil.so.$MAJOR
[platform/upstream/btrfs-progs.git]
/
convert
/
common.c
diff --git
a/convert/common.c
b/convert/common.c
index
3860f3b
..
2b944fd
100644
(file)
--- a/
convert/common.c
+++ b/
convert/common.c
@@
-219,7
+219,7
@@
static inline int write_temp_extent_buffer(int fd, struct extent_buffer *buf,
{
int ret;
- csum_tree_block_size(buf,
BTRFS_CRC32_SIZE
, 0);
+ csum_tree_block_size(buf,
btrfs_csum_sizes[BTRFS_CSUM_TYPE_CRC32]
, 0);
/* Temporary extent buffer is always mapped 1:1 on disk */
ret = pwrite(fd, buf->data, buf->len, bytenr);