[RHEL5 PATCH 2/2] NFS: Represent 64-bit fileids as 64-bit inode numbers on 32-bit systems [try #2]

Trond Myklebust trond.myklebust at fys.uio.no
Tue Aug 15 12:28:30 EDT 2006


On Tue, 2006-08-15 at 16:26 +0100, David Howells wrote:
>  
> -		/* We set i_ino for the few things that still rely on it,
> -		 * such as stat(2) */
> -		inode->i_ino = hash;
> +		/* We set i_ino for the few things that still rely on it, such
> +		 * as printing messages; stat and filldir use the fileid
> +		 * directly since i_ino may not be large enough */
> +		inode->i_ino = fattr->fileid;

Are there any plans to remove inode->i_ino? It would appear to have
outlived its usefulness.

Otherwise Acked...

Cheers,
  Trond



More information about the NFSv4 mailing list