summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src/libglusterfsclient.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-10-23 13:03:04 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-26 07:09:35 -0700
commit544333a14af7a0ff9595072b86716474d6e48632 (patch)
treec1c4a53fd2e75b70d55e11736b6c4472c4664bc8 /libglusterfsclient/src/libglusterfsclient.c
parentef9a28bb2dd57f06c8c4ff75615aba894f2d0bf7 (diff)
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 <avati@dev.gluster.com> 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
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.c')
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c
index 8e13297..ea0b20e 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;