1
0
Fork 0

nfsd4: typo fix in find_any_file

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
wifi-calibration
J. Bruce Fields 2010-08-20 18:06:26 -04:00
parent 30c0e1ef0a
commit 18608ad49c
1 changed files with 1 additions and 1 deletions

View File

@ -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];