X-Git-Url: http://git.samba.org/?a=blobdiff_plain;f=source%2Fsmbd%2Fopen.c;h=fbc6f9ab64103d07d3fff69c8c8443e6106fddb7;hb=5c6c8e1fe93f340005110a7833946191659d88ab;hp=c2d7807158e49983b23f58fc6103f3f8ae219303;hpb=ba8c48244e140403b728d9a2ca297b40e8888964;p=jerry%2Fsamba.git diff --git a/source/smbd/open.c b/source/smbd/open.c index c2d780715..fbc6f9ab6 100644 --- a/source/smbd/open.c +++ b/source/smbd/open.c @@ -387,6 +387,10 @@ static NTSTATUS open_file(files_struct *fsp, fsp->sent_oplock_break = NO_BREAK_SENT; fsp->is_directory = False; fsp->is_stat = False; + if (conn->aio_write_behind_list && + is_in_path(path, conn->aio_write_behind_list, conn->case_sensitive)) { + fsp->aio_write_behind = True; + } string_set(&fsp->fsp_name, path); fsp->wcp = NULL; /* Write cache pointer. */