Re: regarding NFS

From: Trond Myklebust (trond.myklebust@fys.uio.no)
Date: Fri Apr 19 2002 - 07:24:57 EST


On Friday 19. April 2002 03:19, Jehanzeb Hameed wrote:
> In inode.c inside code for NFS says :
> inode->i_data.a_ops = &nfs_file_aops;
>
> it's still not "inode->i_mapping->a_ops "!!!!!!
>
> it should, somewhere, assign something to inode->i_mapping->a_ops ?????

No. inode->i_mapping is initialized by the VFS, not the NFS client
filesystem. (see linux/fs/inode.c:clean_inode())

Cheers,
  Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:24 EST