Skip to content

Commit

Permalink
wrong order of arguments of ->readdir()
Browse files Browse the repository at this point in the history
Shows how many people are testing coda - the bug had been there for 5 years
and results of stepping on it are not subtle.

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jul 15, 2007
1 parent 53b6795 commit 7c9e3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/coda/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ int coda_readdir(struct file *coda_file, void *dirent, filldir_t filldir)

ret = -ENOENT;
if (!IS_DEADDIR(host_inode)) {
ret = host_file->f_op->readdir(host_file, filldir, dirent);
ret = host_file->f_op->readdir(host_file, dirent, filldir);
file_accessed(host_file);
}
}
Expand Down

0 comments on commit 7c9e3c2

Please sign in to comment.