diff options
Diffstat (limited to 'fs/xfs/xfs_icache.c')
-rw-r--r-- | fs/xfs/xfs_icache.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c index 474807a401c8..76a4ecd638c3 100644 --- a/fs/xfs/xfs_icache.c +++ b/fs/xfs/xfs_icache.c | |||
@@ -500,11 +500,6 @@ xfs_inode_ag_walk_grab( | |||
500 | if (!igrab(inode)) | 500 | if (!igrab(inode)) |
501 | return ENOENT; | 501 | return ENOENT; |
502 | 502 | ||
503 | if (is_bad_inode(inode)) { | ||
504 | IRELE(ip); | ||
505 | return ENOENT; | ||
506 | } | ||
507 | |||
508 | /* inode is valid */ | 503 | /* inode is valid */ |
509 | return 0; | 504 | return 0; |
510 | 505 | ||
@@ -918,8 +913,6 @@ restart: | |||
918 | xfs_iflock(ip); | 913 | xfs_iflock(ip); |
919 | } | 914 | } |
920 | 915 | ||
921 | if (is_bad_inode(VFS_I(ip))) | ||
922 | goto reclaim; | ||
923 | if (XFS_FORCED_SHUTDOWN(ip->i_mount)) { | 916 | if (XFS_FORCED_SHUTDOWN(ip->i_mount)) { |
924 | xfs_iunpin_wait(ip); | 917 | xfs_iunpin_wait(ip); |
925 | xfs_iflush_abort(ip, false); | 918 | xfs_iflush_abort(ip, false); |