diff options
author | David Chinner <david@fromorbit.com> | 2008-10-30 02:37:49 -0400 |
---|---|---|
committer | Lachlan McIlroy <lachlan@sgi.com> | 2008-10-30 02:37:49 -0400 |
commit | 116545130cbc5214523c2f994a11c81ef9eb9186 (patch) | |
tree | 1cecd684b20bcbd6d163dd7120160277b58c2091 /fs/xfs/xfs_inode.c | |
parent | 7a3be02baef7bdec43965103441bde5de4dd8601 (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_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 99d9118c4a41..4eb629f0513e 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c | |||
@@ -811,7 +811,7 @@ xfs_inode_alloc( | |||
811 | ASSERT(atomic_read(&ip->i_iocount) == 0); | 811 | ASSERT(atomic_read(&ip->i_iocount) == 0); |
812 | ASSERT(atomic_read(&ip->i_pincount) == 0); | 812 | ASSERT(atomic_read(&ip->i_pincount) == 0); |
813 | ASSERT(!spin_is_locked(&ip->i_flags_lock)); | 813 | ASSERT(!spin_is_locked(&ip->i_flags_lock)); |
814 | ASSERT(list_empty(&ip->i_reclaim)); | 814 | ASSERT(completion_done(&ip->i_flush)); |
815 | 815 | ||
816 | /* | 816 | /* |
817 | * initialise the VFS inode here to get failures | 817 | * initialise the VFS inode here to get failures |
@@ -2729,7 +2729,7 @@ xfs_idestroy( | |||
2729 | ASSERT(atomic_read(&ip->i_iocount) == 0); | 2729 | ASSERT(atomic_read(&ip->i_iocount) == 0); |
2730 | ASSERT(atomic_read(&ip->i_pincount) == 0); | 2730 | ASSERT(atomic_read(&ip->i_pincount) == 0); |
2731 | ASSERT(!spin_is_locked(&ip->i_flags_lock)); | 2731 | ASSERT(!spin_is_locked(&ip->i_flags_lock)); |
2732 | ASSERT(list_empty(&ip->i_reclaim)); | 2732 | ASSERT(completion_done(&ip->i_flush)); |
2733 | kmem_zone_free(xfs_inode_zone, ip); | 2733 | kmem_zone_free(xfs_inode_zone, ip); |
2734 | } | 2734 | } |
2735 | 2735 | ||