From: Al Viro Date: Sun, 22 Jul 2007 15:59:26 +0000 (+0200) Subject: coda: wrong order of arguments of ->readdir() X-Git-Tag: v2.6.16.53-rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b80f9a0d13e0210ef56c3d2d0afc33e60e547a8;p=thirdparty%2Fkernel%2Fstable.git coda: 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: Adrian Bunk --- diff --git a/fs/coda/dir.c b/fs/coda/dir.c index 8f1a517f8b4e2..6758d81f193b3 100644 --- a/fs/coda/dir.c +++ b/fs/coda/dir.c @@ -469,7 +469,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); } }