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.
|