summaryrefslogtreecommitdiffstats
path: root/booster/src/booster_stat.c
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-05-05 16:04:29 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-05-05 17:51:05 +0530
commitad8e8fa72f287da034027bf26fc1fbfb1437d47e (patch)
tree8e2e18b7bf04f7f33006dccdef52708c380e7633 /booster/src/booster_stat.c
parentc803febb9b013e384bcccf37a2c68dc90deea444 (diff)
booster: Add readdir64 API
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'booster/src/booster_stat.c')
-rw-r--r--booster/src/booster_stat.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/booster/src/booster_stat.c b/booster/src/booster_stat.c
index 85eb2bf72..6616c04ce 100644
--- a/booster/src/booster_stat.c
+++ b/booster/src/booster_stat.c
@@ -59,6 +59,8 @@ booster_statvfs (const char *path, void *buf);
extern int
booster_statvfs64 (const char *path, void *buf);
+extern void *
+booster_readdir (void *dir);
int
stat (const char *path, void *buf)
@@ -156,3 +158,14 @@ 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);
+}