diff options
Diffstat (limited to 'libmount/src/fs.c')
-rw-r--r-- | libmount/src/fs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmount/src/fs.c b/libmount/src/fs.c index dc6009cf9..86b2423eb 100644 --- a/libmount/src/fs.c +++ b/libmount/src/fs.c @@ -486,6 +486,7 @@ int __mnt_fs_set_fstype_ptr(struct libmnt_fs *fs, char *fstype) fs->fstype = fstype; fs->flags &= ~MNT_FS_PSEUDO; fs->flags &= ~MNT_FS_NET; + fs->flags &= ~MNT_FS_SWAP; /* save info about pseudo filesystems */ if (fs->fstype) { |