TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
const char *base_volume,
- time_t *tstamp);
+ time_t *tstamp,
+ bool rw);
NTSTATUS (*snap_create_recv_fn)(struct vfs_handle_struct *handle,
struct tevent_req *req,
TALLOC_CTX *mem_ctx,
TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
const char *base_volume,
- time_t *tstamp);
+ time_t *tstamp,
+ bool rw);
NTSTATUS smb_vfs_call_snap_create_recv(struct vfs_handle_struct *handle,
struct tevent_req *req,
TALLOC_CTX *mem_ctx,
#define SMB_VFS_SNAP_CHECK_PATH(conn, mem_ctx, service_path, base_volume) \
smb_vfs_call_snap_check_path((conn)->vfs_handles, (mem_ctx), (service_path), (base_volume))
-#define SMB_VFS_SNAP_CREATE_SEND(conn, mem_ctx, ev, base_volume, tstamp) \
- smb_vfs_call_snap_create_send((conn)->vfs_handles, (mem_ctx), (ev), (base_volume), (tstamp))
+#define SMB_VFS_SNAP_CREATE_SEND(conn, mem_ctx, ev, base_volume, tstamp, rw) \
+ smb_vfs_call_snap_create_send((conn)->vfs_handles, (mem_ctx), (ev), (base_volume), (tstamp), (rw))
#define SMB_VFS_SNAP_CREATE_RECV(conn, req, mem_ctx, base_path, snap_path) \
smb_vfs_call_snap_create_recv((conn)->vfs_handles, (req), (mem_ctx), (base_path), (snap_path))
#define SMB_VFS_SNAP_DELETE_SEND(conn, mem_ctx, ev, snap_path) \
TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
const char *base_volume,
- time_t *tstamp)
+ time_t *tstamp,
+ bool rw)
{
VFS_FIND(snap_create_send);
return handle->fns->snap_create_send_fn(handle, mem_ctx, ev,
- base_volume, tstamp);
+ base_volume, tstamp, rw);
}
NTSTATUS smb_vfs_call_snap_create_recv(struct vfs_handle_struct *handle,