Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1624037 > unrolled thread

[PATCH 1/1 linux-next] fs/affs: remove node generation check

Started byFabian Frederick <fabf@skynet.be>
First post2017-04-15 09:00 +0200
Last post2017-04-15 09:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/1 linux-next] fs/affs: remove node generation check Fabian Frederick <fabf@skynet.be> - 2017-04-15 09:00 +0200

#1624037 — [PATCH 1/1 linux-next] fs/affs: remove node generation check

FromFabian Frederick <fabf@skynet.be>
Date2017-04-15 09:00 +0200
Subject[PATCH 1/1 linux-next] fs/affs: remove node generation check
Message-ID<twpQC-3lG-7@gated-at.bofh.it>
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>
---
 fs/affs/namei.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/fs/affs/namei.c b/fs/affs/namei.c
index b02da4d..d9a40b5 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;
 }
 
-- 
2.9.3

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web