From 544333a14af7a0ff9595072b86716474d6e48632 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Fri, 23 Oct 2009 13:03:04 +0000 Subject: booster: seperate out the implementations of readdir and readdir64. - readdir and readdir64 should not call same procedure booster_readdir in their implementation, since the layout of dirent structures returned by libc implementations of readdir and readdir64 is different (readdir returns struct dirent *, where as readdir64 returns struct dirent64 *). Signed-off-by: Anand V. Avati BUG: 333 (ls on paths not on virtual mounts report wrong directory contents) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=333 --- libglusterfsclient/src/libglusterfsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfsclient/src/libglusterfsclient.c') diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c index 8e132970a..ea0b20e77 100755 --- a/libglusterfsclient/src/libglusterfsclient.c +++ b/libglusterfsclient/src/libglusterfsclient.c @@ -4143,7 +4143,7 @@ out: } -struct dirent * +void * glusterfs_readdir (glusterfs_dir_t dirfd) { int op_ret = -1; -- cgit