summaryrefslogtreecommitdiff
path: root/mkfs
diff options
context:
space:
mode:
authorChandan Rajendra <chandan@linux.vnet.ibm.com>2016-12-01 19:21:14 +0530
committerDavid Sterba <dsterba@suse.com>2016-12-14 15:06:35 +0100
commit4981c8d2347775e93678fdec2a10697843a71093 (patch)
treec563423473aef8f8b3e4123ecc72d39e0b614780 /mkfs
parentfd60bbfcba42954fd7157a9e6f852e776befa247 (diff)
btrfs-progs: Use helper function to access btrfs_super_block->sys_chunk_array_size
btrfs_super_block->sys_chunk_array_size is stored as le32 data on disk. However insert_temp_chunk_item() writes sys_chunk_array_size in host cpu order. This commit fixes this by using super block access helper functions to read and write btrfs_super_block->sys_chunk_array_size field. Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'mkfs')
0 files changed, 0 insertions, 0 deletions