diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-05-05 16:04:23 +0530 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-05-05 17:51:02 +0530 |
commit | c803febb9b013e384bcccf37a2c68dc90deea444 (patch) | |
tree | 4f4b5a087cf0aac84f60acc6605d673bafd3d11d /booster/src/booster_stat.c | |
parent | fe6a39da3cd7370e9a7d9f7908e06cbdce64ce6a (diff) |
booster: Add statvfs 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.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/booster/src/booster_stat.c b/booster/src/booster_stat.c index 2abbdf76e..85eb2bf72 100644 --- a/booster/src/booster_stat.c +++ b/booster/src/booster_stat.c @@ -54,6 +54,12 @@ booster_statfs (const char *path, void *buf); extern int booster_statfs64 (const char *path, void *buf); +extern int +booster_statvfs (const char *path, void *buf); +extern int +booster_statvfs64 (const char *path, void *buf); + + int stat (const char *path, void *buf) { @@ -138,3 +144,15 @@ statfs64 (const char *pathname, void *buf) return booster_statfs64 (pathname, buf); } +int +statvfs (const char *pathname, void *buf) +{ + return booster_statvfs (pathname, buf); +} + +int +statvfs64 (const char *pathname, void *buf) +{ + return booster_statvfs64 (pathname, buf); +} + |