diff options
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r-- | fs/xfs/xfs_iget.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/xfs/xfs_iget.c b/fs/xfs/xfs_iget.c index d3da00045f26..fa796910f3aa 100644 --- a/fs/xfs/xfs_iget.c +++ b/fs/xfs/xfs_iget.c | |||
@@ -505,7 +505,6 @@ xfs_iget( | |||
505 | vnode_t *vp = NULL; | 505 | vnode_t *vp = NULL; |
506 | int error; | 506 | int error; |
507 | 507 | ||
508 | retry: | ||
509 | XFS_STATS_INC(xs_ig_attempts); | 508 | XFS_STATS_INC(xs_ig_attempts); |
510 | 509 | ||
511 | if ((inode = iget_locked(XFS_MTOVFS(mp)->vfs_super, ino))) { | 510 | if ((inode = iget_locked(XFS_MTOVFS(mp)->vfs_super, ino))) { |
@@ -526,16 +525,6 @@ inode_allocate: | |||
526 | iput(inode); | 525 | iput(inode); |
527 | } | 526 | } |
528 | } else { | 527 | } else { |
529 | /* These are true if the inode is in inactive or | ||
530 | * reclaim. The linux inode is about to go away, | ||
531 | * wait for that path to finish, and try again. | ||
532 | */ | ||
533 | if (vp->v_flag & (VINACT | VRECLM)) { | ||
534 | vn_wait(vp); | ||
535 | iput(inode); | ||
536 | goto retry; | ||
537 | } | ||
538 | |||
539 | if (is_bad_inode(inode)) { | 528 | if (is_bad_inode(inode)) { |
540 | iput(inode); | 529 | iput(inode); |
541 | return EIO; | 530 | return EIO; |