summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-07-22 17:59:26 +0200
committerAdrian Bunk <bunk@stusta.de>2007-07-22 17:59:26 +0200
commit1b80f9a0d13e0210ef56c3d2d0afc33e60e547a8 (patch)
tree5e4d969272e01c5da4e981ff1257759d7b601493
parentb98f003bbc89fc6eb3c8d8ea0094531a7918fe69 (diff)
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 <viro@zeniv.linux.org.uk> Signed-off-by: Adrian Bunk <bunk@stusta.de>
-rw-r--r--fs/coda/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/coda/dir.c b/fs/coda/dir.c
index 8f1a517f8b4e..6758d81f193b 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);
}
}