Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18608ad4 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

nfsd4: typo fix in find_any_file

parent 30c0e1ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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];