patch-2.4.7 linux/fs/affs/dir.c
Next file: linux/fs/affs/file.c
Previous file: linux/fs/affs/amigaffs.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Jul 15 16:34:14 2001
- Orig file:
v2.4.6/linux/fs/affs/dir.c
- Orig date:
Thu Apr 26 22:17:26 2001
diff -u --recursive --new-file v2.4.6/linux/fs/affs/dir.c linux/fs/affs/dir.c
@@ -85,7 +85,7 @@
stored++;
}
- down(&AFFS_INODE->i_hash_lock);
+ affs_lock_dir(inode);
chain_pos = (f_pos - 2) & 0xffff;
hash_pos = (f_pos - 2) >> 16;
if (chain_pos == 0xffff) {
@@ -157,7 +157,7 @@
readdir_out:
affs_brelse(dir_bh);
affs_brelse(fh_bh);
- up(&AFFS_INODE->i_hash_lock);
+ affs_unlock_dir(inode);
pr_debug("AFFS: readdir()=%d\n", stored);
return res;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)