From 5dfc98439280aedd3df095276df5e20f1bf7a2d2 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 27 Jun 2011 13:31:48 +0200 Subject: libmount: minor fixes Signed-off-by: Karel Zak --- libmount/src/fs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libmount/src/fs.c') 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) { -- cgit v1.2.3-55-g7522