public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] wrong order of arguments of ->readdir()
@ 2007-07-15 19:59 Al Viro
  0 siblings, 0 replies; only message in thread
From: Al Viro @ 2007-07-15 19:59 UTC (permalink / raw)
  To: torvalds; +Cc: linux-kernel


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>
---
 fs/coda/dir.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/coda/dir.c b/fs/coda/dir.c
index 9ddf5ed..898a86d 100644
--- a/fs/coda/dir.c
+++ b/fs/coda/dir.c
@@ -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);
 		}
 	}
-- 
1.5.3.GIT



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-15 19:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-15 19:59 [PATCH] wrong order of arguments of ->readdir() Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox