diff options
author | Christof Schmitt <christof.schmitt@us.ibm.com> | 2012-03-02 14:26:19 -0700 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-03-22 18:41:22 +0100 |
commit | a9cfd80d8722f9af7fc18ea70115a6b1b1033168 (patch) | |
tree | 9e5d1410d4896a182583eae1fc8e37992f7b9f5d /source3/modules/vfs_gpfs.h | |
parent | 4262eb401fac0a6f9f0f76bff390041ad6600536 (diff) | |
download | samba-a9cfd80d8722f9af7fc18ea70115a6b1b1033168.tar.gz samba-a9cfd80d8722f9af7fc18ea70115a6b1b1033168.tar.bz2 samba-a9cfd80d8722f9af7fc18ea70115a6b1b1033168.zip |
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
Diffstat (limited to 'source3/modules/vfs_gpfs.h')
-rw-r--r-- | source3/modules/vfs_gpfs.h | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |