projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2d58e0
)
fs/affs: remove node generation check
author
Fabian Frederick
<fabf@skynet.be>
Sat, 15 Apr 2017 06:55:11 +0000
(08:55 +0200)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 27 Apr 2017 03:54:05 +0000
(23:54 -0400)
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>
fs/affs/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/affs/namei.c
b/fs/affs/namei.c
index b02da4d421cc1e008d0ba9dc46d03679df367b2d..d9a40b5ca4d397564300bb73c5ab941b035f7735 100644
(file)
--- 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;
}