diff options
author | Jeremy Allison <jra@samba.org> | 2005-10-20 17:33:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:08 -0500 |
commit | a5b339c799b39d5147c6d31f94cc0b2ea9c865db (patch) | |
tree | 0382efacfd7b5d944f1c1903df0243956e67cbab /examples/VFS/skel_opaque.c | |
parent | fc8292f38151705e520880acbf57a87982e4325c (diff) | |
download | samba-a5b339c799b39d5147c6d31f94cc0b2ea9c865db.tar.gz samba-a5b339c799b39d5147c6d31f94cc0b2ea9c865db.tar.xz samba-a5b339c799b39d5147c6d31f94cc0b2ea9c865db.zip |
r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.
Jeremy.
(This used to be commit af8545806770a7530eecc184bdd230ca14999884)
Diffstat (limited to 'examples/VFS/skel_opaque.c')
-rw-r--r-- | examples/VFS/skel_opaque.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index 065c9ecbc1a..e6b7d032fcf 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -71,6 +71,11 @@ static int skel_get_shadow_copy_data(vfs_handle_struct *handle, files_struct *fs return vfswrap_get_shadow_copy_data(NULL, fsp, shadow_copy_data, labels); } +static int skel_statvfs(struct vfs_handle_struct *handle, struct connection_struct *conn, const char *path, struct vfs_statvfs_struct *statbuf) +{ + return vfswrap_statvfs(NULL, conn, path, statbuf); +} + static SMB_STRUCT_DIR *skel_opendir(vfs_handle_struct *handle, connection_struct *conn, const char *fname, const char *mask, uint32 attr) { return vfswrap_opendir(NULL, conn, fname, mask, attr); @@ -534,6 +539,7 @@ static vfs_op_tuple skel_op_tuples[] = { {SMB_VFS_OP(skel_get_quota), SMB_VFS_OP_GET_QUOTA, SMB_VFS_LAYER_OPAQUE}, {SMB_VFS_OP(skel_set_quota), SMB_VFS_OP_SET_QUOTA, SMB_VFS_LAYER_OPAQUE}, {SMB_VFS_OP(skel_get_shadow_copy_data), SMB_VFS_OP_GET_SHADOW_COPY_DATA,SMB_VFS_LAYER_OPAQUE}, + {SMB_VFS_OP(skel_statvfs), SMB_VFS_OP_STATVFS, SMB_VFS_LAYER_OPAQUE}, /* Directory operations */ |