Skip to content

Commit

Permalink
fs/affs: remove node generation check
Browse files Browse the repository at this point in the history
node generation has to be stored on disk.
AFAICS we won't be able to manage it on AFFS.
This patch removes relevant check in affs_nfs_get_inode()

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Fabian Frederick authored and Al Viro committed Apr 27, 2017
1 parent d2d58e0 commit a9d6cfb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fs/affs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a9d6cfb

Please sign in to comment.