patch-2.4.3 linux/fs/super.c

Next file: linux/fs/sysv/inode.c
Previous file: linux/fs/smbfs/proc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.2/linux/fs/super.c linux/fs/super.c
@@ -1412,6 +1412,8 @@
 	return retval;
 
 fail:
+	if (fstype->fs_flags & FS_SINGLE)
+		put_filesystem(fstype);
 	if (list_empty(&sb->s_mounts))
 		kill_super(sb, 0);
 	goto unlock_out;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)