projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30c0e1e
)
nfsd4: typo fix in find_any_file
author
J. Bruce Fields
<bfields@redhat.com>
Fri, 20 Aug 2010 22:06:26 +0000
(18:06 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Thu, 26 Aug 2010 17:21:09 +0000
(13:21 -0400)
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/state.h
patch
|
blob
|
history
diff --git
a/fs/nfsd/state.h
b/fs/nfsd/state.h
index 7731a75971ddf88347b7ed634604e72fcc0b027c..84579c86b13dba5338bced8843fb6c316470ec10 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];