diff options
author | Volker Lendecke <vl@samba.org> | 2009-05-28 19:20:14 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-06-02 11:58:22 +0200 |
commit | 56efcb7b723b581b9c258d137331a171512d4d09 (patch) | |
tree | 4a267a776ce14ea66e1c009568bc0fc97e7f5c30 /source3/include/vfs.h | |
parent | 83ffbb4ec4e0519cd4f9c5f95e11d70c18a1b25b (diff) | |
download | samba-56efcb7b723b581b9c258d137331a171512d4d09.tar.gz samba-56efcb7b723b581b9c258d137331a171512d4d09.tar.bz2 samba-56efcb7b723b581b9c258d137331a171512d4d09.zip |
Add SMB_VFS_CONNECTPATH operation
This is required for the shadow_copy2 module and "wide links = no". The file
system snapshots by nature are typically outside of share directory. So the
REALPATH result fails the wide links = no test.
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r-- | source3/include/vfs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 0c0e0938bd..9a736a7ca0 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -221,6 +221,7 @@ typedef enum _vfs_op_type { SMB_VFS_OP_FILE_ID_CREATE, SMB_VFS_OP_STREAMINFO, SMB_VFS_OP_GET_REAL_FILENAME, + SMB_VFS_OP_CONNECTPATH, SMB_VFS_OP_BRL_LOCK_WINDOWS, SMB_VFS_OP_BRL_UNLOCK_WINDOWS, SMB_VFS_OP_BRL_CANCEL_WINDOWS, @@ -402,6 +403,9 @@ struct vfs_ops { TALLOC_CTX *mem_ctx, char **found_name); + const char *(*connectpath)(struct vfs_handle_struct *handle, + const char *filename); + NTSTATUS (*brl_lock_windows)(struct vfs_handle_struct *handle, struct byte_range_lock *br_lck, struct lock_struct *plock, @@ -564,6 +568,7 @@ struct vfs_ops { struct vfs_handle_struct *file_id_create; struct vfs_handle_struct *streaminfo; struct vfs_handle_struct *get_real_filename; + struct vfs_handle_struct *connectpath; struct vfs_handle_struct *brl_lock_windows; struct vfs_handle_struct *brl_unlock_windows; struct vfs_handle_struct *brl_cancel_windows; |