diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2015-01-05 14:24:27 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-01-09 18:34:10 +0100 |
commit | 73cc83d08e9413c33d21aece1f5d2425b3c3099d (patch) | |
tree | 9586eb30359f48e0a52222e5ba45498e68df0211 /utils.h | |
parent | 1f7ea87871d9bd743d31618f96e1a3f2dd5bde91 (diff) |
btrfs-progs: Allow debug-tree to be executed on regular file.
The commit 1bad43fbe002 ("btrfs-progs: refine btrfs-debug-tree error
prompt when a mount point given")
add judgement on btrfs-debug-tree to restrict only block device to be
executed on, but the command can also be used on regular file, so add
regular file support for the judgement.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ #define BTRFS_ARG_MNTPOINT 1 #define BTRFS_ARG_UUID 2 #define BTRFS_ARG_BLKDEV 3 +#define BTRFS_ARG_REG 4 #define BTRFS_UUID_UNPARSED_SIZE 37 |