patch-2.3.3 linux/fs/hfs/catalog.c
Next file: linux/fs/hpfs/alloc.c
Previous file: linux/fs/hfs/bnode.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat May 15 15:02:50 1999
- Orig file:
v2.3.2/linux/fs/hfs/catalog.c
- Orig date:
Fri May 14 18:55:24 1999
diff -u --recursive --new-file v2.3.2/linux/fs/hfs/catalog.c linux/fs/hfs/catalog.c
@@ -647,7 +647,7 @@
*/
static inline void start_write(struct hfs_cat_entry *dir)
{
- if (dir->u.dir.readers || wait_queue_active(&dir->u.dir.read_wait)) {
+ if (dir->u.dir.readers || waitqueue_active(&dir->u.dir.read_wait)) {
hfs_sleep_on(&dir->u.dir.write_wait);
}
++dir->u.dir.writers;
@@ -658,7 +658,7 @@
*/
static inline void start_read(struct hfs_cat_entry *dir)
{
- if (dir->u.dir.writers || wait_queue_active(&dir->u.dir.write_wait)) {
+ if (dir->u.dir.writers || waitqueue_active(&dir->u.dir.write_wait)) {
hfs_sleep_on(&dir->u.dir.read_wait);
}
++dir->u.dir.readers;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)