patch-2.1.129 linux/fs/hfs/btree.c
Next file: linux/fs/hfs/extent.c
Previous file: linux/fs/hfs/ChangeLog
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Sun Nov 15 11:11:44 1998
- Orig file:
v2.1.128/linux/fs/hfs/btree.c
- Orig date:
Sun Jan 4 10:40:17 1998
diff -u --recursive --new-file v2.1.128/linux/fs/hfs/btree.c linux/fs/hfs/btree.c
@@ -176,6 +176,14 @@
bt->wait = NULL;
bt->dirt = 0;
memset(bt->cache, 0, sizeof(bt->cache));
+
+#if 0 /* this is a fake entry. so we don't need to initialize it. */
+ memset(&bt->entry, 0, sizeof(bt->entry));
+ hfs_init_waitqueue(&bt->entry.wait);
+ INIT_LIST_HEAD(&bt->entry.hash);
+ INIT_LIST_HEAD(&bt->entry.list);
+#endif
+
bt->entry.mdb = mdb;
bt->entry.cnid = cnid;
bt->entry.type = HFS_CDR_FIL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov