diff options
author | Anand Jain <anand.jain@oracle.com> | 2013-11-04 15:17:41 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-31 08:22:03 -0800 |
commit | 1ecefced86538306d581b05105a93d1268ce0028 (patch) | |
tree | 2c056cfa051e67a6773add9f2b5b550470f1fdcd /btrfs-list.c | |
parent | 457b1286dd9976efbfec25bb286ddc8cec410aa1 (diff) | |
download | btrfs-progs-1ecefced86538306d581b05105a93d1268ce0028.tar.gz |
btrfs-progs: define BTRFS_UUID_UNPARSE_SIZE for uuid unparse buf size
we use 37 as the allocation size to hold the uuid_unparse, here
it defines BTRFS_UUID_UNPARSE_SIZE for the same.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'btrfs-list.c')
-rw-r--r-- | btrfs-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-list.c b/btrfs-list.c index f3618b9..6a38dd5 100644 --- a/btrfs-list.c +++ b/btrfs-list.c @@ -1331,7 +1331,7 @@ static void print_subvolume_column(struct root_info *subv, enum btrfs_list_column_enum column) { char tstr[256]; - char uuidparse[37]; + char uuidparse[BTRFS_UUID_UNPARSED_SIZE]; BUG_ON(column >= BTRFS_LIST_ALL || column < 0); |