btrfs-progs: convert: Make btrfs_reserved_ranges const
commit89d5eb55274e0777fec8f5fe01789c32556dee16
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Thu, 16 Mar 2017 03:18:31 +0000 (16 11:18 +0800)
committerDavid Sterba <dsterba@suse.com>
Thu, 16 Mar 2017 16:40:35 +0000 (16 17:40 +0100)
tree4a84b7a90eff0e9704619ac91bbf7a80e954a4ff
parent1d1e2ef6bf021b3948b5122d5a7e87e15dfbbdff
btrfs-progs: convert: Make btrfs_reserved_ranges const

Since btrfs_reserved_ranges array is just used to store btrfs reserved
ranges, no one will nor should modify them at run time, make them static
and const will be better.

This also eliminates the use of immediate number 3.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
[ definition stays in source-fs.c ]
Signed-off-by: David Sterba <dsterba@suse.com>
convert/main.c
convert/source-fs.c
convert/source-fs.h