]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
wrong order of arguments of ->readdir()
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 15 Jul 2007 19:59:31 +0000 (20:59 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 15 Jul 2007 23:40:51 +0000 (16:40 -0700)
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 <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/coda/dir.c

index 9ddf5ed62162fdf767fbf30ff3d2f0cff82ad8e7..898a86dde8f5c66fe7c97c9dcffd7812bbdc3e3f 100644 (file)
@@ -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);
                }
        }