patch-2.3.6 linux/fs/hfs/catalog.c
Next file: linux/fs/hfs/mdb.c
Previous file: linux/fs/hfs/btree.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Jun 4 13:30:25 1999
- Orig file:
v2.3.5/linux/fs/hfs/catalog.c
- Orig date:
Mon May 17 09:55:22 1999
diff -u --recursive --new-file v2.3.5/linux/fs/hfs/catalog.c linux/fs/hfs/catalog.c
@@ -302,6 +302,8 @@
entry->modify_date = hfs_get_nl(cat->u.dir.MdDat);
entry->backup_date = hfs_get_nl(cat->u.dir.BkDat);
dir->dirs = dir->files = 0;
+ hfs_init_waitqueue(&dir->read_wait);
+ hfs_init_waitqueue(&dir->write_wait);
} else if (cat->cdrType == HFS_CDR_FIL) {
struct hfs_file *fil = &entry->u.file;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)