FreeBSD/sys/fs/nfsclient/nfs_clvnops.c
/*
 * Print out the contents of an nfsnode.
 */
Print out the contents of an nfsnode.
Print out the contents of an nfsnode .
static int
nfs_print(struct vop_print_args *ap)
{
	struct vnode *vp = ap->a_vp;
	struct nfsnode *np = VTONFS(vp);
	printf("\tfileid %ld fsid 0x%x", np->n_vattr.na_fileid,
	    np->n_vattr.na_fsid);
	if (vp->v_type == VFIFO)
		fifo_printinfo(vp);
	printf("\n");
	return (0);
}
static int nfs_print ( struct vop_print_args * ap ) { struct vnode * vp = ap -> a_vp ; struct nfsnode * np = VTONFS ( vp ) ; printf ( " \t " , np -> n_vattr . na_fileid , np -> n_vattr . na_fsid ) ; if ( vp -> v_type == VFIFO ) fifo_printinfo ( vp ) ; printf ( " \n " ) ; return ( 0 ) ; }
Print out the contents of an nfsnode.
Print out the contents of an nfsnode .