diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-21 15:10:44 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-21 16:14:27 +0100 |
commit | 9a226532221b88369b913bc9f9d6ec335620349f (patch) | |
tree | c6eee79c808026fb97f974ff25fc3517ccf8a36d /source3/include/vfs.h | |
parent | d221d53f3a523ac014e9f33b67f0b7d777dfb171 (diff) | |
download | samba-9a226532221b88369b913bc9f9d6ec335620349f.tar.gz samba-9a226532221b88369b913bc9f9d6ec335620349f.tar.bz2 samba-9a226532221b88369b913bc9f9d6ec335620349f.zip |
Add SMB_VFS_FS_CAPABILITIES
It turns out that this is a necessary operation, separate from statvfs. statvfs
can fail during tcon, so conn->fs_capabilities would never see that we support
streams on a particular share.
James, can you check that I got the darwin variant right? Thanks!
(This used to be commit 3ad798d803b3b023533bb48e6993885f22b96095)
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r-- | source3/include/vfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h index cda28a1680..ca176aabb2 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -149,6 +149,7 @@ typedef enum _vfs_op_type { SMB_VFS_OP_SET_QUOTA, SMB_VFS_OP_GET_SHADOW_COPY_DATA, SMB_VFS_OP_STATVFS, + SMB_VFS_OP_FS_CAPABILITIES, /* Directory operations */ @@ -284,6 +285,7 @@ struct vfs_ops { int (*set_quota)(struct vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *qt); int (*get_shadow_copy_data)(struct vfs_handle_struct *handle, struct files_struct *fsp, SHADOW_COPY_DATA *shadow_copy_data, bool labels); int (*statvfs)(struct vfs_handle_struct *handle, const char *path, struct vfs_statvfs_struct *statbuf); + uint32_t (*fs_capabilities)(struct vfs_handle_struct *handle); /* Directory operations */ @@ -435,6 +437,7 @@ struct vfs_ops { struct vfs_handle_struct *set_quota; struct vfs_handle_struct *get_shadow_copy_data; struct vfs_handle_struct *statvfs; + struct vfs_handle_struct *fs_capabilities; /* Directory operations */ |