patch-2.1.34 linux/fs/inode.c

Next file: linux/fs/isofs/dir.c
Previous file: linux/fs/fat/misc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.33/linux/fs/inode.c linux/fs/inode.c
@@ -529,7 +529,7 @@
 	best->i_count = 1;
 	best->i_nlink = 1;
 	best->i_version = ++event;
-	best->i_sem.count = 1;
+	sema_init(&best->i_sem, 1);
 	best->i_ino = ++ino;
 	best->i_dev = 0;
 	nr_free_inodes--;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov