diff options
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r-- | fs/xfs/xfs_iget.c | 8 |
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 | /* |