patch-2.3.6 linux/fs/hfs/mdb.c

Next file: linux/fs/hfs/super.c
Previous file: linux/fs/hfs/catalog.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.5/linux/fs/hfs/mdb.c linux/fs/hfs/mdb.c
@@ -99,7 +99,9 @@
 	memset(mdb, 0, sizeof(*mdb));
 	mdb->magic = HFS_MDB_MAGIC;
 	mdb->sys_mdb = sys_mdb;
-	INIT_LIST_HEAD(&mdb->entry_dirty);  
+	INIT_LIST_HEAD(&mdb->entry_dirty);
+	hfs_init_waitqueue(&mdb->rename_wait);
+	hfs_init_waitqueue(&mdb->bitmap_wait);
 
 	/* See if this is an HFS filesystem */
 	buf = hfs_buffer_get(sys_mdb, part_start + HFS_MDB_BLK, 1);

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