aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_iget.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_iget.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_iget.c')
-rw-r--r--fs/xfs/xfs_iget.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c
index a0387f14c204..800133805ca1 100644
--- a/fs/xfs/xfs_iget.c
+++ b/fs/xfs/xfs_iget.c
@@ -95,10 +95,6 @@ xfs_iget_cache_hit(
95 /* clear the radix tree reclaim flag as well. */ 95 /* clear the radix tree reclaim flag as well. */
96 __xfs_inode_clear_reclaim_tag(mp, pag, ip); 96 __xfs_inode_clear_reclaim_tag(mp, pag, ip);
97 read_unlock(&pag->pag_ici_lock); 97 read_unlock(&pag->pag_ici_lock);
98
99 XFS_MOUNT_ILOCK(mp);
100 list_del_init(&ip->i_reclaim);
101 XFS_MOUNT_IUNLOCK(mp);
102 } else if (!igrab(VFS_I(ip))) { 98 } else if (!igrab(VFS_I(ip))) {
103 /* If the VFS inode is being torn down, pause and try again. */ 99 /* If the VFS inode is being torn down, pause and try again. */
104 error = EAGAIN; 100 error = EAGAIN;
@@ -419,11 +415,7 @@ xfs_iextract(
419 write_unlock(&pag->pag_ici_lock); 415 write_unlock(&pag->pag_ici_lock);
420 xfs_put_perag(mp, pag); 416 xfs_put_perag(mp, pag);
421 417
422 /* Deal with the deleted inodes list */
423 XFS_MOUNT_ILOCK(mp);
424 list_del_init(&ip->i_reclaim);
425 mp->m_ireclaims++; 418 mp->m_ireclaims++;
426 XFS_MOUNT_IUNLOCK(mp);
427} 419}
428 420
429/* 421/*