List Btrfs capabilities in filesystems table

When enabled, show Btrfs capabilities in features table, without skipping
it like other multi-volume systems.
This commit is contained in:
Luca Bruno 2010-01-04 16:02:55 +01:00
parent 5765eb870c
commit 0125278eb7
1 changed files with 5 additions and 2 deletions

View File

@ -105,8 +105,11 @@ void DialogFeatures::load_filesystems( const std::vector<FS> & FILESYSTEMS )
//fill the features chart with valid file systems
for ( unsigned short t = 0; t < FILESYSTEMS .size() ; t++ )
{
//Skip btrfs, luks, lvm2, and unknown because these are not file systems
if ( FILESYSTEMS[ t ] .filesystem == GParted::FS_BTRFS ||
//Skip luks, lvm2, and unknown because these are not file systems
if (
#ifndef BTRFS_SUPPORT
FILESYSTEMS[ t ] .filesystem == GParted::FS_BTRFS ||
#endif
FILESYSTEMS[ t ] .filesystem == GParted::FS_LUKS ||
FILESYSTEMS[ t ] .filesystem == GParted::FS_LVM2 ||
FILESYSTEMS[ t ] .filesystem == GParted::FS_UNKNOWN