git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
afs: Implement sillyrename for unlink and rename
[sfrench/cifs-2.6.git]
/
fs
/
afs
/
inode.c
diff --git
a/fs/afs/inode.c
b/fs/afs/inode.c
index 9cedc3fc1b7744679010f4aae412c92925cd3b3a..3eef20ff285bc86e55c33c9ea4c443584875136e 100644
(file)
--- a/
fs/afs/inode.c
+++ b/
fs/afs/inode.c
@@
-543,6
+543,8
@@
void afs_evict_inode(struct inode *inode)
#endif
afs_put_permits(rcu_access_pointer(vnode->permit_cache));
+ key_put(vnode->silly_key);
+ vnode->silly_key = NULL;
key_put(vnode->lock_key);
vnode->lock_key = NULL;
_leave("");