git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd4: remove use of mutex for file_hashtable
[safe/jmp/linux-2.6]
/
include
/
linux
/
nfsd
/
state.h
diff --git
a/include/linux/nfsd/state.h
b/include/linux/nfsd/state.h
index
503b6bb
..
a6e4a00
100644
(file)
--- a/
include/linux/nfsd/state.h
+++ b/
include/linux/nfsd/state.h
@@
-214,7
+214,7
@@
struct nfs4_stateowner {
* share_acces, share_deny on the file.
*/
struct nfs4_file {
-
struct kref
fi_ref;
+
atomic_t
fi_ref;
struct list_head fi_hash; /* hash by "struct inode *" */
struct list_head fi_stateids;
struct list_head fi_delegations;