patch-2.3.1 linux/fs/fat/inode.c

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

diff -u --recursive --new-file v2.3.0/linux/fs/fat/inode.c linux/fs/fat/inode.c
@@ -464,7 +464,7 @@
 
 	sb->s_magic = MSDOS_SUPER_MAGIC;
 	/* set up enough so that it can read an inode */
-	MSDOS_SB(sb)->fat_wait = NULL;
+	init_waitqueue_head(&MSDOS_SB(sb)->fat_wait);
 	MSDOS_SB(sb)->fat_lock = 0;
 	MSDOS_SB(sb)->prev_free = 0;
 

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