Skip to content

Commit a9d6cfb

Browse files
Fabian FrederickAl Viro
authored andcommitted
fs/affs: remove node generation check
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>
1 parent d2d58e0 commit a9d6cfb

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎fs/affs/namei.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -478,11 +478,6 @@ static struct inode *affs_nfs_get_inode(struct super_block *sb, u64 ino,
478478
if (IS_ERR(inode))
479479
return ERR_CAST(inode);
480480

481-
if (generation && inode->i_generation != generation) {
482-
iput(inode);
483-
return ERR_PTR(-ESTALE);
484-
}
485-
486481
return inode;
487482
}
488483

0 commit comments

Comments
 (0)