mirror of
https://gitlab.gnome.org/GNOME/gparted
synced 2024-10-31 08:13:27 +00:00
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:
parent
5765eb870c
commit
0125278eb7
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue