@@ -96,7 +96,7 @@ DokanDispatchQueryInformation(__in PREQUEST_CONTEXT RequestContext) {
9696 if (!PrepareOutputHelper (
9797 RequestContext -> Irp , & allInfo ,
9898 FIELD_OFFSET (FILE_ALL_INFORMATION , NameInformation .FileName ),
99- /*SetInformationOnFailure=*/ FALSE)) {
99+ /*SetInformationOnFailure=*/ FALSE)) {
100100 status = STATUS_BUFFER_TOO_SMALL ;
101101 __leave;
102102 }
@@ -106,7 +106,7 @@ DokanDispatchQueryInformation(__in PREQUEST_CONTEXT RequestContext) {
106106 PFILE_NAME_INFORMATION nameInfo ;
107107 if (!PrepareOutputHelper (RequestContext -> Irp , & nameInfo ,
108108 FIELD_OFFSET (FILE_NAME_INFORMATION , FileName ),
109- /*SetInformationOnFailure=*/ FALSE)) {
109+ /*SetInformationOnFailure=*/ FALSE)) {
110110 status = STATUS_BUFFER_TOO_SMALL ;
111111 __leave;
112112 }
@@ -599,7 +599,6 @@ DokanDispatchSetInformation(__in PREQUEST_CONTEXT RequestContext) {
599599 }
600600
601601 if (!isPagingIo ) {
602-
603602 CcFlushCache (& fcb -> SectionObjectPointers , NULL , 0 , NULL );
604603
605604 DokanPagingIoLockRW (fcb );
@@ -620,7 +619,7 @@ DokanDispatchSetInformation(__in PREQUEST_CONTEXT RequestContext) {
620619 ASSERT (posInfo != NULL );
621620
622621 DOKAN_LOG_FINE_IRP (RequestContext , "FilePositionInformation %lld" ,
623- posInfo -> CurrentByteOffset .QuadPart );
622+ posInfo -> CurrentByteOffset .QuadPart );
624623 fileObject -> CurrentByteOffset = posInfo -> CurrentByteOffset ;
625624
626625 status = STATUS_SUCCESS ;
@@ -635,9 +634,9 @@ DokanDispatchSetInformation(__in PREQUEST_CONTEXT RequestContext) {
635634 */
636635 targetFileObject = RequestContext -> IrpSp -> Parameters .SetFile .FileObject ;
637636 if (targetFileObject != NULL ) {
638- DOKAN_LOG_FINE_IRP (RequestContext ,
639- "FileObject Specified so perform flush %p \"%wZ\"" ,
640- targetFileObject , & (targetFileObject -> FileName ));
637+ DOKAN_LOG_FINE_IRP (RequestContext ,
638+ "FileObject Specified so perform flush %p \"%wZ\"" ,
639+ targetFileObject , & (targetFileObject -> FileName ));
641640 PDokanCCB targetCcb = (PDokanCCB )targetFileObject -> FsContext2 ;
642641 ASSERT (targetCcb != NULL );
643642 PDokanFCB targetFcb = (PDokanFCB )targetCcb -> Fcb ;
0 commit comments