projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'iversion-v4.16-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton...
[linux-2.6-microblaze.git]
/
fs
/
afs
/
inode.c
diff --git
a/fs/afs/inode.c
b/fs/afs/inode.c
index
dcd2e08
..
c7f17c4
100644
(file)
--- a/
fs/afs/inode.c
+++ b/
fs/afs/inode.c
@@
-378,6
+378,10
@@
int afs_validate(struct afs_vnode *vnode, struct key *key)
}
read_sequnlock_excl(&vnode->cb_lock);
+
+ if (test_bit(AFS_VNODE_DELETED, &vnode->flags))
+ clear_nlink(&vnode->vfs_inode);
+
if (valid)
goto valid;