Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots
authorMiao Xie <miaox@cn.fujitsu.com>
Tue, 18 Sep 2012 09:14:37 +0000 (17:14 +0800)
committerroot <root@localhost.localdomain>
Thu, 4 Oct 2012 20:26:33 +0000 (16:26 -0400)
commit3defb823843ac6071e38dbd89603344885e7a8aa
tree2ac9ece7912fc942c76cc25333a21aec78f66f21
parent162df1e30c7c0492ae9fb551d74452e643f5fea2
Btrfs-progs: enhance btrfs subvol list only to show read-only snapshots

We want 'btrfs subvolume list' only to list readonly subvolumes, this patch set
introduces a new option 'r' to implement it.

You can use the command like that:

        btrfs subvolume list -r <path>

Original-Signed-off-by: Zhou Bo <zhoub-fnst@cn.fujitsu.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
btrfs-list.c
btrfs-list.h
cmds-subvolume.c
ctree.h