xfs
[Top] [All Lists]

Re: TAKE - add delete_inode empty routine

To: Kip Macy <kmacy@xxxxxxxxxxxxxxx>
Subject: Re: TAKE - add delete_inode empty routine
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Wed, 22 Mar 2000 16:50:38 -0600
Cc: linux-xfs@xxxxxxxxxxx
References: <Pine.SOL.4.10.10003221411280.13995-100000@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Kip Macy wrote:

> Is there any way for individuals to contribute prior to full legal review?
> Or are we best off just reviewing the code that has been released until the 
> full
> release takes place?

The entire tree should be available very soon... week or two.
At this point it would be easiest just to wait a little bit longer.

I will make an announcement to the list when the rest of
the CVS tree is available.



>
>
> Thanks.
>
>                                 -Kip
>
> ------------------------------------------------------------------------
> Kip Macy                               kmacy@xxxxxxxxxxxxxxx
> University of California, Berkeley
> ------------------------------------------------------------------------
>
> On Mon, 20 Mar 2000, Jim Mostek wrote:
>
> > This is needed to truncate any pages left on the inode
> > at remove time.
> >
> > Modid:  2.3.42-xfs:slinx:46496a
> > Date:  Mon Mar 20 15:44:51 PST 2000
> > Workarea:  clink.americas.sgi.com:/data/clink/io/mostek/slinx-xfs2.3
> >
> > The following file(s) were checked into:
> >   bonnie.engr.sgi.com:/isms/slinx/2.3.42-xfs
> >
> > linux/fs/xfs/linux/xfs_super.c - 1.49
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/> > 
linux/fs/xfs/linux/xfs_super.c.diff?r1=text&tr1=1.49&r2=text&tr2=1.48&f=h
> >       - Add delete_inode routine that does nothing.
> >         While put_inode with vnodes does all the releasing, iput
> >         keeps going (see fs/inode.c:iput).
> >         If there is no delete_inode routine for a file system,
> >         pages are not discarded when a file is removed that is no
> >         longer referenced: i.e. the following is skipped:
> >         if (inode->i_data.nrpages)
> >         truncate_inode_pages(inode, 0);
> >         This must be done on XFS so we need a dummy delete_inode routine.
> >
> >


<Prev in Thread] Current Thread [Next in Thread>