From 106a651826eeaacf9d0b40fe6d088d6bdc997675 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Fri, 23 Oct 2009 13:02:01 +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 --- booster/src/booster_stat.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'booster/src/booster_stat.c') diff --git a/booster/src/booster_stat.c b/booster/src/booster_stat.c index 09da554c8..23bc10c0d 100644 --- a/booster/src/booster_stat.c +++ b/booster/src/booster_stat.c @@ -169,18 +169,6 @@ statvfs64 (const char *pathname, void *buf) return booster_statvfs64 (pathname, buf); } -void * -readdir (void *dir) -{ - return booster_readdir (dir); -} - -void * -readdir64 (void *dir) -{ - return booster_readdir (dir); -} - void rewinddir (void *dir) { -- cgit