diff options
author | Fabian Frederick <fabf@skynet.be> | 2017-04-15 08:55:11 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-26 23:54:05 -0400 |
commit | a9d6cfb70f71e3d7fb4fe90db40f965e7096bdab (patch) | |
tree | 7d0a5b7d02b6475cac3a3d295bf5b672d7e0542d /fs/affs | |
parent | d2d58e0e0d6c750941147e505f4263239427e359 (diff) |
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>
Diffstat (limited to 'fs/affs')
-rw-r--r-- | fs/affs/namei.c | 5 |
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; } |