From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neil Brown Subject: Re: Urgent help needed on an NFS question, please help!!! Date: Thu, 10 Aug 2006 16:03:25 +1000 Message-ID: <17626.52269.828274.831029@cse.unsw.edu.au> References: <4ae3c140608092204n1c07152k52010a10e209bb77@mail.gmail.com> <17626.49136.384370.284757@cse.unsw.edu.au> <4ae3c140608092254k62dce9at2e8cdcc9ae7a6d9f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: linux-kernel , linux-fsdevel@vger.kernel.org Return-path: Received: from mx1.suse.de ([195.135.220.2]:49885 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S1161048AbWHJGD2 (ORCPT ); Thu, 10 Aug 2006 02:03:28 -0400 To: "Xin Zhao" In-Reply-To: message from Xin Zhao on Thursday August 10 Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thursday August 10, uszhaoxin@gmail.com wrote: > Many thanks for your kind help! > > Your answer is what I expected. But what frustrated me is that I > cannot find the code that verifies the generation number in NFS V3 > codes. Do you know where it check the generation number? NFSD doesn't. The individual filesystem does. You need to look in the filesystem code. Some filesystems use common code from fs/exportfs/expfs.c See "export_iget". NeilBrown.