We are now free to remove it from struct files_struct.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
return NT_STATUS_ACCESS_DENIED;
}
- if (src_fsp->deferred_close != NULL) {
- DBG_INFO("copy chunk src handle with deferred close.\n");
- return NT_STATUS_ACCESS_DENIED;
- }
-
- if (dst_fsp->deferred_close != NULL) {
- DBG_INFO("copy chunk dst handle with deferred close.\n");
- return NT_STATUS_ACCESS_DENIED;
- }
-
if (src_fsp->closing) {
DBG_INFO("copy chunk src handle with closing in progress.\n");
return NT_STATUS_ACCESS_DENIED;
fsp->aio_requests[i] = fsp->aio_requests[fsp->num_aio_requests];
if (fsp->num_aio_requests == 0) {
- tevent_wait_done(fsp->deferred_close);
TALLOC_FREE(fsp->aio_requests);
}
return 0;
}
if (req->chain_fsp != NULL) {
- if (req->chain_fsp->deferred_close) {
- return NULL;
- }
if (req->chain_fsp->closing) {
return NULL;
}
return NULL;
}
- if (fsp->deferred_close) {
- return NULL;
- }
-
if (fsp->closing) {
return NULL;
}
return NULL;
}
- if (fsp->deferred_close) {
- return NULL;
- }
-
if (fsp->closing) {
return NULL;
}
struct files_struct *fsp;
if (smb2req->compat_chain_fsp != NULL) {
- if (smb2req->compat_chain_fsp->deferred_close) {
- return NULL;
- }
if (smb2req->compat_chain_fsp->closing) {
return NULL;
}