]> git.hungrycats.org Git - linux/commitdiff
coda: wrong order of arguments of ->readdir()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Jul 2007 15:59:26 +0000 (17:59 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sun, 22 Jul 2007 15:59:26 +0000 (17:59 +0200)
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: Adrian Bunk <bunk@stusta.de>
fs/coda/dir.c

index 8f1a517f8b4e26faa35dfb89e6682d2a136be683..6758d81f193b35e02fbd00013617aaa7d98dcda2 100644 (file)
@@ -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);
                }
        }