lkml.org 
[lkml]   [2002]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: regarding NFS
From
Date
>>>>> " " == Jehanzeb Hameed <u990056@giki.edu.pk> writes:

> I was looking at the code and I couldnt find how NFS implements
> inode->i_mapping->a_ops->readpage(filp,page) in
> used by generic_file_read in mm/filemapc.c. All I could find
> was inode->i_op->readpage(filp,page). But NFS uses
> generic_file_read....so how does it work out. Kernel 2.4.17??

Look again: there is no such thing as readpage() in the struct
inode_operations in the 2.4.x kernels. Just grep for 'nfs_file_aops'
in the source.

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/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.088 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site