Skip to contentSkip to conversation

wrong order of arguments of ->readdir()

PATCH New Al Viro 1 participant 1 message Jul 15, 2007 Coda file system

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 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.

---
 fs/coda/dir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/coda/dir.c +1 -1
index 9ddf5ed..898a86d 100644
@@ -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);
 		}
 	}
Signature · 1 line
1.5.3.GIT