kernels/linux-2.4.0/fs/nfs/inode.c
/*
 * In NFSv3 we can have 64bit inode numbers. In order to support
 * this, and re-exported directories (also seen in NFSv2)
 * we are forced to allow 2 different inodes to have the same
 * i_ino.
 */
In NFSv3 we can have 64bit inode numbers. In order to support
this, and re-exported directories (also seen in NFSv2)
we are forced to allow 2 different inodes to have the same
i_ino.
In NFSv3 we can have 64bit inode numbers . In order to support this and re - exported directories ( also seen in NFSv2 ) we are forced to allow 2 different inodes to have the same i_ino .
static int
nfs_find_actor(struct inode *inode, unsigned long ino, void *opaque)
{
	struct nfs_find_desc	*desc = (struct nfs_find_desc *)opaque;
	struct nfs_fh		*fh = desc->fh;
	struct nfs_fattr	*fattr = desc->fattr;
	if (NFS_FSID(inode) != fattr->fsid)
		return 0;
	if (NFS_FILEID(inode) != fattr->fileid)
		return 0;
	if (memcmp(&inode->u.nfs_i.fh, fh, sizeof(inode->u.nfs_i.fh)) != 0)
		return 0;
	return 1;
}
static int nfs_find_actor ( struct inode * inode , unsigned long ino , void * opaque ) { struct nfs_find_desc * desc = ( struct nfs_find_desc * ) opaque ; struct nfs_fh * fh = desc -> fh ; struct nfs_fattr * fattr = desc -> fattr ; if ( NFS_FSID ( inode ) != fattr -> fsid ) return 0 ; if ( NFS_FILEID ( inode ) != fattr -> fileid ) return 0 ; if ( memcmp ( & inode -> u . nfs_i . fh , fh , sizeof ( inode -> u . nfs_i . fh ) ) != 0 ) return 0 ; return 1 ; }
In NFSv3 we can have 64bit inode numbers.
In NFSv3 we can have 64bit inode numbers .