Date: Tue, 11 Jan 2005 18:52:12 +0000 (UTC) From: Suleiman Souhlal <ssouhlal@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/fstat fstat.c Message-ID: <200501111852.j0BIqCw4097686@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501111852.j0BIqCw4097686>
