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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 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




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux