Btrfs-progs: dont print uuid unless -u option is given
authorAnand Jain <anand.jain@oracle.com>
Thu, 25 Oct 2012 08:00:31 +0000 (16:00 +0800)
committerDavid Sterba <dsterba@suse.cz>
Fri, 1 Feb 2013 16:42:14 +0000 (17:42 +0100)
unless it was intentional to include uuid when -s
option is (show snapshot only) given, we would need
this break statement.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
cmds-subvolume.c

index f8ed2ff..63c5990 100644 (file)
@@ -361,7 +361,7 @@ static int cmd_subvol_list(int argc, char **argv)
                                                0);
                        btrfs_list_setup_print_column(BTRFS_LIST_OGENERATION);
                        btrfs_list_setup_print_column(BTRFS_LIST_OTIME);
-
+                       break;
                case 'u':
                        btrfs_list_setup_print_column(BTRFS_LIST_UUID);
                        break;