If you really need the inode number, you should use the semi-public interface to retrieve it and call VOP_GETATTR. This is what the rest of the kernel does when it needs attributes of a vnode.
See for example http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/syscall/stat.c This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss