ssouhlal 77d4c051f2 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
2005-01-11 18:52:12 +00:00
..
2004-06-29 21:28:09 +00:00
2004-06-29 21:28:09 +00:00
2004-06-29 21:28:09 +00:00