projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NFSv4: Make nfs4_state track O_RDWR, O_RDONLY and O_WRONLY separately
[linux-2.6-block.git]
/
fs
/
nfs
/
nfs4_fs.h
diff --git
a/fs/nfs/nfs4_fs.h
b/fs/nfs/nfs4_fs.h
index b7f262dcb6e345179fc62aac1a022dd2f058a30d..4ad5981f937511ca81e70eee0659c579bb801857 100644
(file)
--- a/
fs/nfs/nfs4_fs.h
+++ b/
fs/nfs/nfs4_fs.h
@@
-182,8
+182,9
@@
struct nfs4_state {
nfs4_stateid stateid;
- unsigned int nreaders;
- unsigned int nwriters;
+ unsigned int n_rdonly;
+ unsigned int n_wronly;
+ unsigned int n_rdwr;
int state; /* State on the server (R,W, or RW) */
atomic_t count;
};