fsck: use mnt_fs_is_regularfs()

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2021-06-02 12:16:14 +02:00
parent ac8697d606
commit 868cd0dc0a
1 changed files with 1 additions and 1 deletions

View File

@ -1089,7 +1089,7 @@ static int fs_ignored_type(struct libmnt_fs *fs)
{
const char **ip, *type;
if (mnt_fs_is_netfs(fs) || mnt_fs_is_pseudofs(fs) || mnt_fs_is_swaparea(fs))
if (!mnt_fs_is_regularfs(fs))
return 1;
type = mnt_fs_get_fstype(fs);