David Sterba
a62b7854de
btrfs-progs: utils: split device scanning functions to own file
...
All helpers and data structures that are used for device registration.
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-04 02:06:34 +02:00
David Sterba
ccbea0977b
btrfs-progs: utils: split device handling functions to own file
...
Helpers that read size, do zeoring, trim or prepare/finalize the device.
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-04 02:06:34 +02:00
David Sterba
c3b0e6970b
btrfs-progs: path-utils: rename is_block_device
...
Add the path_ prefix and update all callers.
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-04 02:06:33 +02:00
David Sterba
f83e81c61b
btrfs-progs: utils: split path related utils to own file
...
Group helpers that return some status of a given path to own file so we
debloat utils.c a bit.
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-04 02:06:31 +02:00
David Sterba
add5079974
btrfs-progs: fix helpinfo formats, short and options separation
...
For options that do not have the long description, the empty string is
required to mark where the options start. Some commands were missing
that.
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-03 20:49:04 +02:00
David Sterba
c07960c8be
btrfs-progs: move utils.[ch] to common/
...
Update include paths and remove some duplicates.
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-03 20:49:04 +02:00
David Sterba
aac564aca6
btrfs-progs: move commonh to common/
...
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-03 20:49:03 +02:00
David Sterba
f93b471143
btrfs-progs: move help.[ch] to common/
...
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-03 20:49:03 +02:00
David Sterba
4f398726d3
btrfs-progs: move all cmds-fi*.c to cmds/
...
This is the filesystem command group.
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-03 20:49:03 +02:00
David Sterba
de6b03ca33
btrfs-progs: move cmds-device.c to cmds/
...
Signed-off-by: David Sterba <dsterba@suse.com>
2019-07-03 20:49:02 +02:00