The real check whether to show deleted or live subvolumes was skipped if just '-d' was specified without other filters. The 'deleted' filter was not accounted. Signed-off-by: David Sterba <dsterba@suse.cz> --- btrfs-list.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/btrfs-list.c b/btrfs-list.c index 912b27c3deca..c34f85e9991f 100644 --- a/btrfs-list.c +++ b/btrfs-list.c @@ -1218,6 +1218,7 @@ int btrfs_list_setup_filter(struct btrfs_list_filter_set **filter_set, if (filter == BTRFS_LIST_FILTER_DELETED) { set->only_deleted = 1; + set->nfilters++; return 0; } -- 1.7.9 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html