Date: Fri, 06 Dec 2002 14:45:50 +0800 From: "kai ouyang" <oykai@msn.com> To: hackers@FreeBSD.org Subject: One Filesystem vnode operations declare problem. Message-ID: <F40M7e0C9guA8M6XQQe0000708b@hotmail.com>
next in thread | raw e-mail | index | archive | help
Hi, everybody,
I have some questions about FS vnode operations.
I found the filesystems always declare vnode operations by "VNODEOP_SET"
more than once.
For example:
In DEVFS:
VNODEOP_SET(devfs_vnodeop_opv_desc);
VNODEOP_SET(devfs_specop_opv_desc);
In FFS:
VNODEOP_SET(ffs_vnodeop_opv_desc);
VNODEOP_SET(ffs_specop_opv_desc);
VNODEOP_SET(ffs_fifoop_opv_desc);
Why? Why can not the kerenel use only "devfs_vnodeop_opv_desc" or
"ffs_vnodeop_opv_desc"?
Another words, I want to know the difference among those "VNODEOP_SET" in
one filesystem.
Thank you!
Best Regards
Ouyang Kai
_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F40M7e0C9guA8M6XQQe0000708b>
