patch-2.1.34 linux/fs/super.c
Next file: linux/include/asm-alpha/atomic.h
Previous file: linux/fs/romfs/inode.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon Apr 14 09:31:09 1997
-  Orig file: 
v2.1.33/linux/fs/super.c
-  Orig date: 
Mon Apr  7 11:35:31 1997
diff -u --recursive --new-file v2.1.33/linux/fs/super.c linux/fs/super.c
@@ -99,7 +99,7 @@
 	memset(lptr, 0, sizeof(struct vfsmount));
 
 	lptr->mnt_dev = dev;
-	lptr->mnt_sem.count = 1;
+	sema_init(&lptr->mnt_sem, 1);
 	if (dev_name && !getname(dev_name, &tmp)) {
 		if ((lptr->mnt_devname =
 		    (char *) kmalloc(strlen(tmp)+1, GFP_KERNEL)) != (char *)NULL)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov