From c8927d51164f68a5c96090c5f52d8ffa81ec98b7 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 17 Apr 2015 18:29:38 +0200 Subject: [PATCH] btrfs-progs: cleanup, rename *disk_usage* files to usage Signed-off-by: David Sterba --- Makefile.in | 2 +- cmds-device.c | 2 +- cmds-fi-disk_usage.c => cmds-fi-usage.c | 2 +- cmds-fi-disk_usage.h => cmds-fi-usage.h | 4 ++-- cmds-filesystem.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) rename cmds-fi-disk_usage.c => cmds-fi-usage.c (99%) rename cmds-fi-disk_usage.h => cmds-fi-usage.h (96%) diff --git a/Makefile.in b/Makefile.in index 3c50613e..860a390b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -40,7 +40,7 @@ cmds_objects = cmds-subvolume.o cmds-filesystem.o cmds-device.o cmds-scrub.o \ cmds-inspect.o cmds-balance.o cmds-send.o cmds-receive.o \ cmds-quota.o cmds-qgroup.o cmds-replace.o cmds-check.o \ cmds-restore.o cmds-rescue.o chunk-recover.o super-recover.o \ - cmds-property.o cmds-fi-disk_usage.o + cmds-property.o cmds-fi-usage.o libbtrfs_objects = send-stream.o send-utils.o rbtree.o btrfs-list.o crc32c.o \ uuid-tree.o utils-lib.o rbtree-utils.o libbtrfs_headers = send-stream.h send-utils.h send.h rbtree.h btrfs-list.h \ diff --git a/cmds-device.c b/cmds-device.c index 9a7287a6..cbb32438 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -28,7 +28,7 @@ #include "ctree.h" #include "ioctl.h" #include "utils.h" -#include "cmds-fi-disk_usage.h" +#include "cmds-fi-usage.h" #include "commands.h" diff --git a/cmds-fi-disk_usage.c b/cmds-fi-usage.c similarity index 99% rename from cmds-fi-disk_usage.c rename to cmds-fi-usage.c index 06f3d06e..adf1c27f 100644 --- a/cmds-fi-disk_usage.c +++ b/cmds-fi-usage.c @@ -27,7 +27,7 @@ #include "kerncompat.h" #include "ctree.h" #include "string-table.h" -#include "cmds-fi-disk_usage.h" +#include "cmds-fi-usage.h" #include "commands.h" #include "version.h" diff --git a/cmds-fi-disk_usage.h b/cmds-fi-usage.h similarity index 96% rename from cmds-fi-disk_usage.h rename to cmds-fi-usage.h index 96cec6a7..c8061d15 100644 --- a/cmds-fi-disk_usage.h +++ b/cmds-fi-usage.h @@ -16,8 +16,8 @@ * Boston, MA 021110-1307, USA. */ -#ifndef __CMDS_FI_DISK_USAGE_H__ -#define __CMDS_FI_DISK_USAGE_H__ +#ifndef __CMDS_FI_USAGE_H__ +#define __CMDS_FI_USAGE_H__ extern const char * const cmd_filesystem_usage_usage[]; int cmd_filesystem_usage(int argc, char **argv); diff --git a/cmds-filesystem.c b/cmds-filesystem.c index c9a34e4d..2cace758 100644 --- a/cmds-filesystem.c +++ b/cmds-filesystem.c @@ -34,7 +34,7 @@ #include "utils.h" #include "volumes.h" #include "commands.h" -#include "cmds-fi-disk_usage.h" +#include "cmds-fi-usage.h" #include "list_sort.h" #include "disk-io.h"