From 85be2aaf913f0e234058c56fab460c5d7a2c084b Mon Sep 17 00:00:00 2001 From: Alexander Block Date: Tue, 12 Nov 2013 13:41:43 +0000 Subject: 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 --- btrfs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'btrfs.c') diff --git a/btrfs.c b/btrfs.c index d5fc738..98ff6f5 100644 --- a/btrfs.c +++ b/btrfs.c @@ -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 }, -- cgit v1.2.1