Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 19 Apr 2002 05:37:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 19 Apr 2002 05:37:44 -0400 Received: from mons.uio.no ([129.240.130.14]:51343 "EHLO mons.uio.no") by vger.kernel.org with ESMTP id ; Fri, 19 Apr 2002 05:37:44 -0400 To: "Jehanzeb Hameed" Cc: "Kernel Mailing List" Subject: Re: regarding NFS In-Reply-To: <001f01c1e6c6$2d6a9f80$e53ca8c0@hostel6.resnet.giki.edu.pk> From: Trond Myklebust Date: 19 Apr 2002 11:36:35 +0200 Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> " " == Jehanzeb Hameed 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/