path: root/commands.h
diff options
authorAlexander Block <>2013-11-12 13:41:43 +0000
committerChris Mason <>2014-01-31 08:22:31 -0800
commit85be2aaf913f0e234058c56fab460c5d7a2c084b (patch)
tree4d0b300c4dab86b5341e7fd59981439873269aac /commands.h
parent83ccf085099d5e300b47b0661eda68d3bad034e6 (diff)
Btrfs-progs: introduce btrfs property subgroup
"btrfs filesystem property" is a generic interface to set/get properties on filesystem objects (inodes/subvolumes/filesystems /devs). This patch adds the generic framework for properties and also implements two properties. The first is the read-only property for subvolumes and the second is the label property for devices. Signed-off-by: Alexander Block <> Signed-off-by: Filipe David Borba Manana <> Signed-off-by: David Sterba <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'commands.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/commands.h b/commands.h
index b791d687..23c1201f 100644
--- a/commands.h
+++ b/commands.h
@@ -87,6 +87,7 @@ extern const struct cmd_group balance_cmd_group;
extern const struct cmd_group device_cmd_group;
extern const struct cmd_group scrub_cmd_group;
extern const struct cmd_group inspect_cmd_group;
+extern const struct cmd_group property_cmd_group;
extern const struct cmd_group quota_cmd_group;
extern const struct cmd_group qgroup_cmd_group;
extern const struct cmd_group replace_cmd_group;
@@ -109,6 +110,7 @@ int cmd_check(int argc, char **argv);
int cmd_chunk_recover(int argc, char **argv);
int cmd_super_recover(int argc, char **argv);
int cmd_inspect(int argc, char **argv);
+int cmd_property(int argc, char **argv);
int cmd_send(int argc, char **argv);
int cmd_receive(int argc, char **argv);
int cmd_quota(int argc, char **argv);