diff options
author | Alexander Block <ablock84@googlemail.com> | 2013-11-12 13:41:43 +0000 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-31 08:22:31 -0800 |
commit | 85be2aaf913f0e234058c56fab460c5d7a2c084b (patch) | |
tree | 4d0b300c4dab86b5341e7fd59981439873269aac /commands.h | |
parent | 83ccf085099d5e300b47b0661eda68d3bad034e6 (diff) | |
download | btrfs-progs-85be2aaf913f0e234058c56fab460c5d7a2c084b.tar.gz |
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 <ablock84@googlemail.com>
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'commands.h')
-rw-r--r-- | commands.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |