From: Herbert Poetzl Subject: Re: unlink (inode_operations) Date: Sun, 6 Jul 2003 07:17:33 +0200 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20030706051733.GA18782@www.13thfloor.at> References: <20030705200701.GB26995@www.13thfloor.at> Reply-To: herbert@13thfloor.at Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from www.13thfloor.at ([212.16.59.250]:60637 "EHLO www.13thfloor.at") by vger.kernel.org with ESMTP id S266608AbTGFFC4 (ORCPT ); Sun, 6 Jul 2003 01:02:56 -0400 To: Nir Tzachar Content-Disposition: inline In-Reply-To: List-Id: linux-fsdevel.vger.kernel.org Hi Nir! On Sun, Jul 06, 2003 at 08:07:59AM +0300, Nir Tzachar wrote: > > 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 ahh, this is music in my ears ... many thanks, I will have a close look at this code before I'll return to the list with more stupid questions ... best, Herbert > 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. >