From: Al Viro Date: Sun, 15 Jul 2007 19:59:31 +0000 (+0100) Subject: wrong order of arguments of ->readdir() X-Git-Tag: v2.6.23-rc1~1070 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c9e3c2e3b0437d10a09b77769baf325b94aa436;p=linux-2.6 wrong order of arguments of ->readdir() 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 Signed-off-by: Linus Torvalds --- diff --git a/fs/coda/dir.c b/fs/coda/dir.c index 9ddf5ed621..898a86dde8 100644 --- a/fs/coda/dir.c +++ b/fs/coda/dir.c @@ -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); } }