From a9cfd80d8722f9af7fc18ea70115a6b1b1033168 Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Fri, 2 Mar 2012 14:26:19 -0700 Subject: s3:vfs_gpfs: add GPFS api calls for quota and free space reporting Add the GPFS api calls for reporting the quotas and free space: - get_gpfs_quota for querying a quota - get_gpfs_fset_id for mapping a path to a fileset id --- source3/modules/vfs_gpfs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/modules/vfs_gpfs.h') diff --git a/source3/modules/vfs_gpfs.h b/source3/modules/vfs_gpfs.h index 4a05841feb..4a9528ae05 100644 --- a/source3/modules/vfs_gpfs.h +++ b/source3/modules/vfs_gpfs.h @@ -34,5 +34,9 @@ int smbd_fget_gpfs_winattrs(int fd, struct gpfs_winattr *attrs); int get_gpfs_winattrs(char * pathname,struct gpfs_winattr *attrs); int set_gpfs_winattrs(char * pathname,int flags,struct gpfs_winattr *attrs); int smbd_gpfs_ftruncate(int fd, gpfs_off64_t length); +int get_gpfs_quota(const char *pathname, int type, int id, + struct gpfs_quotaInfo *qi); +int get_gpfs_fset_id(const char *pathname, int *fset_id); + void init_gpfs(void); void smbd_gpfs_lib_init(); -- cgit