Baruch Siach
153d4e6c01
btrfs-progs: add missing limits headers
...
Build under musl libc fails because of missing PATH_MAX and XATTR_NAME_MAX
macro declarations. Add the required headers.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
2017-03-16 17:02:44 +01:00
David Sterba
52319450e7
btrfs-progs: convert: rename members that clash with other functions
...
Rename 'free' and also 'used' for consistency.
Signed-off-by: David Sterba <dsterba@suse.com>
2017-03-08 13:00:46 +01:00
David Sterba
39aa42147a
btrfs-progs: convert: rename ext2 function to create a symlink
...
Signed-off-by: David Sterba <dsterba@suse.com>
2017-03-08 13:00:46 +01:00
David Sterba
0c362b9031
btrfs-progs: convert: use bit field for convert flags
...
Use one flag field instead of several variables. The change cascades
down to the callchain and modifies several functions.
Signed-off-by: David Sterba <dsterba@suse.com>
2017-03-08 13:00:46 +01:00
David Sterba
c45a060f3e
btrfs-progs: convert: use helper for special inode number check
...
Signed-off-by: David Sterba <dsterba@suse.com>
2017-03-08 13:00:46 +01:00
David Sterba
9368a77456
btrfs-progs: convert: better error handling in ext2_read_used_space
...
Signed-off-by: David Sterba <dsterba@suse.com>
2017-03-08 13:00:46 +01:00
David Sterba
03c085861b
btrfs-progs: convert: move ext2 conversion out of main.c
...
Signed-off-by: David Sterba <dsterba@suse.com>
2017-03-08 13:00:45 +01:00