aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnodeops.c
diff options
context:
space:
mode:
authorDavid Chinner <david@fromorbit.com>2008-10-30 02:37:49 -0400
committerLachlan McIlroy <lachlan@sgi.com>2008-10-30 02:37:49 -0400
commit116545130cbc5214523c2f994a11c81ef9eb9186 (patch)
tree1cecd684b20bcbd6d163dd7120160277b58c2091 /fs/xfs/xfs_vnodeops.c
parent7a3be02baef7bdec43965103441bde5de4dd8601 (diff)
[XFS] kill deleted inodes list
Now that the deleted inodes list is unused, kill it. This also removes the i_reclaim list head from the xfs_inode, shrinking it by two pointers. SGI-PV: 988142 SGI-Modid: xfs-linux-melb:xfs-kern:32334a Signed-off-by: David Chinner <david@fromorbit.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Signed-off-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r--fs/xfs/xfs_vnodeops.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c
index f89a73eb0167..1d15a320b9a6 100644
--- a/fs/xfs/xfs_vnodeops.c
+++ b/fs/xfs/xfs_vnodeops.c
@@ -2835,18 +2835,8 @@ xfs_reclaim(
2835 xfs_iflock(ip); 2835 xfs_iflock(ip);
2836 xfs_iflags_set(ip, XFS_IRECLAIMABLE); 2836 xfs_iflags_set(ip, XFS_IRECLAIMABLE);
2837 return xfs_reclaim_inode(ip, 1, XFS_IFLUSH_DELWRI_ELSE_SYNC); 2837 return xfs_reclaim_inode(ip, 1, XFS_IFLUSH_DELWRI_ELSE_SYNC);
2838 } else {
2839 xfs_mount_t *mp = ip->i_mount;
2840
2841 /* Protect sync and unpin from us */
2842 XFS_MOUNT_ILOCK(mp);
2843 spin_lock(&ip->i_flags_lock);
2844 __xfs_iflags_set(ip, XFS_IRECLAIMABLE);
2845 spin_unlock(&ip->i_flags_lock);
2846 list_add_tail(&ip->i_reclaim, &mp->m_del_inodes);
2847 XFS_MOUNT_IUNLOCK(mp);
2848 xfs_inode_set_reclaim_tag(ip);
2849 } 2838 }
2839 xfs_inode_set_reclaim_tag(ip);
2850 return 0; 2840 return 0;
2851} 2841}
2852 2842