summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-handles.h
diff options
context:
space:
mode:
authorMohammed Rafi KC <rkavunga@redhat.com>2015-04-23 22:57:39 +0530
committerNiels de Vos <ndevos@redhat.com>2015-05-05 11:02:33 -0700
commit07f12e2830ab705828742ebeca7448462762c2b0 (patch)
treed452ed886dfd55273e37fc29482813c902fdc331 /api/src/glfs-handles.h
parentf037d58f2f103f8b80f3827e049876607e764538 (diff)
api/libgfapi: Add support for statfs handle
snapd feature require statfs fops and thereby handle of statfs Change-Id: I037ee846aee3971826a73c592e15f1be27796c64 BUG: 1176837 Signed-off-by: Mohammed Rafi KC <rkavunga@redhat.com> Reviewed-on: http://review.gluster.org/10356 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'api/src/glfs-handles.h')
-rw-r--r--api/src/glfs-handles.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/src/glfs-handles.h b/api/src/glfs-handles.h
index b5813b23448..28e9e79b9a3 100644
--- a/api/src/glfs-handles.h
+++ b/api/src/glfs-handles.h
@@ -198,6 +198,10 @@ int glfs_h_stat(struct glfs *fs, struct glfs_object *object,
struct stat *stat) __THROW
GFAPI_PUBLIC(glfs_h_stat, 3.4.0);
+int glfs_h_statfs(struct glfs *fs, struct glfs_object *object,
+ struct statvfs *stat) __THROW
+ GFAPI_PUBLIC(glfs_h_statfs, 3.7.0);
+
int glfs_h_getattrs (struct glfs *fs, struct glfs_object *object,
struct stat *stat) __THROW
GFAPI_PUBLIC(glfs_h_getattrs, 3.4.0);