btrfs-progs: move device usage to cmds-device, more cleanups
authorDavid Sterba <dsterba@suse.cz>
Wed, 23 Apr 2014 17:00:22 +0000 (19:00 +0200)
committerDavid Sterba <dsterba@suse.cz>
Thu, 4 Dec 2014 15:48:10 +0000 (16:48 +0100)
commitf4e73c060d5de4f809b8cfaeee7491c35ecd3c4b
treed0d84426ff35b2b799780988f9632553d3973bfb
parent84bd55c9cf1770c5cbcfbbe3c91bf13c8d75d0d4
btrfs-progs: move device usage to cmds-device, more cleanups

Move the command definitions where they belong, keep common 'usage'
functions in cmds-fi-disk_usage.c and add exports.

Rename structures containing 'disk' to 'device'.

Fix whitespace in the modified code.

Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-device.c
cmds-fi-disk_usage.c
cmds-fi-disk_usage.h