cvs commit: src/usr.bin/fstat fstat.c
Suleiman Souhlal
ssouhlal at FreeBSD.org
Tue Jan 11 10:52:13 PST 2005
ssouhlal 2005-01-11 18:52:12 UTC
FreeBSD src repository
Modified files:
usr.bin/fstat fstat.c
Log:
Get the vnode from file.f_vnode instead of file.f_data.
Nowadays, f_data points to the vnode only if the underlying filesystem
doesn't use it for other purposes (devfs uses it to store the cdev,
for example).
Found by: csjp
Reviewed by: csjp
Approved by: phk, wes, grehan (mentor)
MFC after: 1 week
Revision Changes Path
1.57 +2 -2 src/usr.bin/fstat/fstat.c
More information about the cvs-src
mailing list