summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_iget.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2005-09-02 10:56:14 +0400
committerNathan Scott <nathans@sgi.com>2005-09-02 10:56:14 +0400
commit592cb26bda6fe69838529acf71e50a6dee7acbb4 (patch)
tree06558d42a069d0faeb398d81016c33448960d009 /fs/xfs/xfs_iget.c
parent760dea671ea9c5b8c732d76d09673d6d052a186f (diff)
downloadlinux-592cb26bda6fe69838529acf71e50a6dee7acbb4.tar.xz
[XFS] remove unessecary vnode flags
SGI-PV: 934766 SGI-Modid: xfs-linux:xfs-kern:196852a Signed-off-by: Christoph Hellwig <hch@sgi.com> Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_iget.c')
-rw-r--r--fs/xfs/xfs_iget.c11
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(
vnode_t *vp = NULL;
int error;
-retry:
XFS_STATS_INC(xs_ig_attempts);
if ((inode = iget_locked(XFS_MTOVFS(mp)->vfs_super, ino))) {
@@ -526,16 +525,6 @@ inode_allocate:
iput(inode);
}
} else {
- /* These are true if the inode is in inactive or
- * reclaim. The linux inode is about to go away,
- * wait for that path to finish, and try again.
- */
- if (vp->v_flag & (VINACT | VRECLM)) {
- vn_wait(vp);
- iput(inode);
- goto retry;
- }
-
if (is_bad_inode(inode)) {
iput(inode);
return EIO;