summaryrefslogtreecommitdiff
path: root/btrfs-list.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2013-02-01 15:56:26 +0800
committerDavid Sterba <dsterba@suse.cz>2013-02-01 16:55:05 +0100
commite260954a9e847c1e3ed0d2f457e256eb4726f5f2 (patch)
tree998a43c4c53b550326ea4148000a5db12e1d7738 /btrfs-list.h
parent64f9c407590e1ec0e1a699234fb7354e11624c9e (diff)
Btrfs-progs: make printing subvol extensible to newer layouts
Currently you can print subvol in a list or table format. This patch will provide a way to extend this to other formats like the upcoming raw format. Signed-off-by: Anand Jain <anand.jain@oracle.com>
Diffstat (limited to 'btrfs-list.h')
-rw-r--r--btrfs-list.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/btrfs-list.h b/btrfs-list.h
index 2870c71..e626858 100644
--- a/btrfs-list.h
+++ b/btrfs-list.h
@@ -18,6 +18,9 @@
#include "kerncompat.h"
+#define BTRFS_LIST_LAYOUT_DEFAULT 0
+#define BTRFS_LIST_LAYOUT_TABLE 1
+
/*
* one of these for each root we find.
*/