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 /btrfs.c | |
parent | 83ccf085099d5e300b47b0661eda68d3bad034e6 (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 <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 'btrfs.c')
-rw-r--r-- | btrfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -250,6 +250,7 @@ static const struct cmd_group btrfs_cmd_group = { { "rescue", cmd_rescue, NULL, &rescue_cmd_group, 0 }, { "restore", cmd_restore, cmd_restore_usage, NULL, 0 }, { "inspect-internal", cmd_inspect, NULL, &inspect_cmd_group, 0 }, + { "property", cmd_property, NULL, &property_cmd_group, 0 }, { "send", cmd_send, cmd_send_usage, NULL, 0 }, { "receive", cmd_receive, cmd_receive_usage, NULL, 0 }, { "quota", cmd_quota, NULL, "a_cmd_group, 0 }, |