mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-07-14 13:25:03 +02:00
INTFileStore interface was added for better separation between the object store layer and the SMB layer
This commit is contained in:
parent
cc170322ed
commit
fb43fb966d
43 changed files with 1715 additions and 1487 deletions
|
@ -177,7 +177,11 @@ namespace SMBLibrary.Server
|
|||
{
|
||||
return new ErrorResponse(request.CommandName, NTStatus.STATUS_FILE_CLOSED);
|
||||
}
|
||||
openFile.Stream.Flush();
|
||||
NTStatus status = share.FileStore.FlushFileBuffers(openFile.Handle);
|
||||
if (status != NTStatus.STATUS_SUCCESS)
|
||||
{
|
||||
return new ErrorResponse(request.CommandName, status);
|
||||
}
|
||||
return new FlushResponse();
|
||||
}
|
||||
else if (command is CloseRequest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue