diff options
Diffstat (limited to 'source3')
| -rw-r--r-- | source3/modules/onefs_cbrl.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/onefs_cbrl.c b/source3/modules/onefs_cbrl.c index a6178a9751..e30070a9f7 100644 --- a/source3/modules/onefs_cbrl.c +++ b/source3/modules/onefs_cbrl.c @@ -432,9 +432,9 @@ bool onefs_brl_cancel_windows(vfs_handle_struct *handle,  	bs = ((struct onefs_cbrl_blr_state *)blr->blr_private);  	SMB_ASSERT(bs); -	if (bs->state == ONEFS_CBRL_DONE) { +	if (bs->state == ONEFS_CBRL_DONE || bs->state == ONEFS_CBRL_ERROR) {  		/* No-op. */ -		DEBUG(10, ("State=DONE, returning true\n")); +		DEBUG(10, ("State=%d, returning true\n", bs->state));  		END_PROFILE(syscall_brl_cancel);  		return true;  	}  | 
