Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 15 Jan 2002 08:41:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 15 Jan 2002 08:41:00 -0500 Received: from pat.uio.no ([129.240.130.16]:50323 "EHLO pat.uio.no") by vger.kernel.org with ESMTP id ; Tue, 15 Jan 2002 08:40:51 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15428.12621.682479.589568@charged.uio.no> Date: Tue, 15 Jan 2002 14:40:29 +0100 To: Nikita Danilov Cc: Neil Brown , Hans-Peter Jansen , linux-kernel@vger.kernel.org, Reiserfs mail-list Subject: Re: [BUG] symlink problem with knfsd and reiserfs In-Reply-To: <15428.14268.730698.637522@laputa.namesys.com> In-Reply-To: <20020115115019.89B55143B@shrek.lisa.de> <15428.6953.453942.415989@charged.uio.no> <15428.14268.730698.637522@laputa.namesys.com> X-Mailer: VM 6.92 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Reply-To: trond.myklebust@fys.uio.no From: Trond Myklebust Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org >>>>> " " == Nikita Danilov writes: > Yes, inode->i_generation is stored in the file handle: > fs/reiserfs/inode.c:reiserfs_dentry_to_fh(). But what is stored in inode->i_generation? AFAICS inode->i_generation = le32_to_cpu (INODE_PKEY (inode)->k_dir_id); which appears not to be a unique generation count. Isn't that instead the directory's object id? The point of i_generation is to provide a unique number that changes every time you reuse the inode number. 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/