aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_super.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/linux-2.6/xfs_super.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/linux-2.6/xfs_super.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 1d67d7f92a46..206a949e3870 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -913,7 +913,6 @@ xfs_fs_inode_init_once(
913 atomic_set(&ip->i_iocount, 0); 913 atomic_set(&ip->i_iocount, 0);
914 atomic_set(&ip->i_pincount, 0); 914 atomic_set(&ip->i_pincount, 0);
915 spin_lock_init(&ip->i_flags_lock); 915 spin_lock_init(&ip->i_flags_lock);
916 INIT_LIST_HEAD(&ip->i_reclaim);
917 init_waitqueue_head(&ip->i_ipin_wait); 916 init_waitqueue_head(&ip->i_ipin_wait);
918 /* 917 /*
919 * Because we want to use a counting completion, complete 918 * Because we want to use a counting completion, complete
@@ -1546,7 +1545,6 @@ xfs_fs_fill_super(
1546 goto out_free_args; 1545 goto out_free_args;
1547 1546
1548 spin_lock_init(&mp->m_sb_lock); 1547 spin_lock_init(&mp->m_sb_lock);
1549 mutex_init(&mp->m_ilock);
1550 mutex_init(&mp->m_growlock); 1548 mutex_init(&mp->m_growlock);
1551 atomic_set(&mp->m_active_trans, 0); 1549 atomic_set(&mp->m_active_trans, 0);
1552 INIT_LIST_HEAD(&mp->m_sync_list); 1550 INIT_LIST_HEAD(&mp->m_sync_list);