patch-2.2.6 linux/fs/super.c

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

diff -u --recursive --new-file v2.2.5/linux/fs/super.c linux/fs/super.c
@@ -559,6 +559,7 @@
 	s->s_dev = dev;
 	s->s_flags = flags;
 	s->s_dirt = 0;
+	sema_init(&s->s_vfs_rename_sem,1);
 	/* N.B. Should lock superblock now ... */
 	if (!type->read_super(s, data, silent))
 		goto out_fail;

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