summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/affs/namei.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/affs/namei.c b/fs/affs/namei.c
index b02da4d421cc..d9a40b5ca4d3 100644
--- a/fs/affs/namei.c
+++ b/fs/affs/namei.c
@@ -478,11 +478,6 @@ static struct inode *affs_nfs_get_inode(struct super_block *sb, u64 ino,
if (IS_ERR(inode))
return ERR_CAST(inode);
- if (generation && inode->i_generation != generation) {
- iput(inode);
- return ERR_PTR(-ESTALE);
- }
-
return inode;
}