Date: Thu, 19 Sep 1996 20:59:02 +0200 (SAT) From: Robert Nordier <rnordier@iafrica.com> To: freebsd-fs@freebsd.org Subject: [Q]: Is VFS_VGET filesystem-specific? Message-ID: <199609191859.UAA01168@eac.iafrica.com>
next in thread | raw e-mail | index | archive | help
Is VFS_VGET intended as a filesystem-specific function -- only for
filesystems actually using inodes -- or does it make sense to
implement it anyway, if it can be supported?
int (*vfs_vget)(struct mount *mp,
ino_t ino,
struct vnode **vpp);
The vfatfs makes use of a 'dnode' structure largely identical to
an inode, except that quota info is missing (can't be supported)
and the 'dinode' section differs (reflecting the much simpler DOS
directory entry structure).
The 'dnode' dn_number is equivalent to an inode i_number, with
ROOTDNO == ROOTINO, etc, and vfatfs_vget() is currently used in
much the same way ffs_vget() is.
Of course, it would be easy enough to rename the current vfatfs_vget(),
make it static, and just return EOPNOTSUPP.
Thanks.
--
Robert Nordier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609191859.UAA01168>
