Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/fs/cd9660
Module Name: src
Committed By: hannken
Date: Sat Jun 14 07:39:29 UTC 2014
Modified Files:
src/sys/fs/cd9660: cd9660_bmap.c cd9660_lookup.c cd9660_node.c
cd9660_node.h cd9660_vfsops.c cd9660_vnops.c
Log Message:
Remove the hints "isodir" and "relocated" from cd9660_vget_internal()
and always reread the directory entry by inumber. For directories
the directory entry is always its "." entry.
Always read directories via the device vnode to prevent buffer cache
inconsistency. Keep i_devvp as a hint for fstat(1) and friends and
always use im_devvp for reads. No need to vref()/vrele() i_devvp.
The additional bread is either cached because cd9660_lookup() just
released the buffer or will be used in the near future when the
directory gets traversed during lookup.
No objections on tech-kern@
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/fs/cd9660/cd9660_bmap.c
cvs rdiff -u -r1.27 -r1.28 src/sys/fs/cd9660/cd9660_lookup.c
cvs rdiff -u -r1.31 -r1.32 src/sys/fs/cd9660/cd9660_node.c
cvs rdiff -u -r1.14 -r1.15 src/sys/fs/cd9660/cd9660_node.h
cvs rdiff -u -r1.85 -r1.86 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -u -r1.47 -r1.48 src/sys/fs/cd9660/cd9660_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index