git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd4: typo fix in find_any_file
[pandora-kernel.git]
/
fs
/
nfsd
/
state.h
diff --git
a/fs/nfsd/state.h
b/fs/nfsd/state.h
index
7731a75
..
84579c8
100644
(file)
--- a/
fs/nfsd/state.h
+++ b/
fs/nfsd/state.h
@@
-379,7
+379,7
@@
static inline struct file *find_any_file(struct nfs4_file *f)
{
if (f->fi_fds[O_RDWR])
return f->fi_fds[O_RDWR];
- else if (f->fi_fds[O_
RDWR
])
+ else if (f->fi_fds[O_
WRONLY
])
return f->fi_fds[O_WRONLY];
else
return f->fi_fds[O_RDONLY];