patch-2.3.99-pre9 linux/fs/hfs/balloc.c

Next file: linux/fs/hfs/catalog.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.99-pre8/linux/fs/hfs/balloc.c linux/fs/hfs/balloc.c
@@ -86,6 +86,8 @@
 	retval.bn->magic = HFS_BNODE_MAGIC;
 	retval.bn->tree = tree;
 	retval.bn->node = node;
+	hfs_init_waitqueue(&retval.bn->wqueue);
+	hfs_init_waitqueue(&retval.bn->rqueue);
 	hfs_bnode_lock(&retval, HFS_LOCK_WRITE);
 
 	retval.bn->buf = get_new_node(tree, node);

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