提交 18608ad4 编写于 作者: J J. Bruce Fields

nfsd4: typo fix in find_any_file

Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
上级 30c0e1ef
......@@ -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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册