xfs
[Top] [All Lists]

Re: TAKE - add delete_inode empty routine

To: Jim Mostek <mostek@xxxxxxx>
Subject: Re: TAKE - add delete_inode empty routine
From: Kip Macy <kmacy@xxxxxxxxxxxxxxx>
Date: Wed, 22 Mar 2000 14:13:53 -0800 (PST)
Cc: slinx-xfs@xxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <200003202345.RAA36740@xxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
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? 

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>