From: Nir Tzachar Subject: Re: unlink (inode_operations) Date: Sun, 6 Jul 2003 08:07:59 +0300 (IDT) Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: References: <20030705200701.GB26995@www.13thfloor.at> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from indigo.cs.bgu.ac.il ([132.72.42.23]:21912 "EHLO indigo.cs.bgu.ac.il") by vger.kernel.org with ESMTP id S266606AbTGFExF (ORCPT ); Sun, 6 Jul 2003 00:53:05 -0400 To: Herbert Poetzl In-Reply-To: <20030705200701.GB26995@www.13thfloor.at> List-Id: linux-fsdevel.vger.kernel.org > I'm currently in the process of writing a filesystem > which should do nothing but mediate each request to > another filesystem (like a noop filter). there was a file system like this created for linux 2.2 . it resembles the nullfs of bsd, and called ,similarly, nullfs. i ported the code to 2.4. grab it here: http://www.cs.bgu.ac.il/~tzachar/nullfs.tar.bz2 it works like a stackable file system, roughly similar to the fist project. > I assume the d_delete was moved into vfs_unlink, and > I'd better call vfs_unlink instead of the i_op->unlink? ur right, vfs_unlink *does* perform the d_delete if i_op->unlink succeeded. u should really use the vfs code here, since it performs some sanity checks. ======================================================================== nir.