[NTFS]
authorTrevor Thompson <tmt256@email.vccs.edu>
Sun, 26 Jun 2016 17:03:31 +0000 (17:03 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 10 Dec 2017 10:13:30 +0000 (11:13 +0100)
Remove unused parameter from SetAttributeDataLength.

svn path=/branches/GSoC_2016/NTFS/; revision=71677

drivers/filesystems/ntfs/mft.c
drivers/filesystems/ntfs/ntfs.h
drivers/filesystems/ntfs/rw.c

index 5d61f53..ae2a6cc 100644 (file)
@@ -177,7 +177,6 @@ SetAttributeDataLength(PFILE_OBJECT FileObject,
                        PNTFS_ATTR_CONTEXT AttrContext,
                        ULONG AttrOffset,
                        PFILE_RECORD_HEADER FileRecord,
-                       PDEVICE_EXTENSION DeviceExt,
                        PLARGE_INTEGER DataSize)
 {
     if (AttrContext->Record.IsNonResident)
index 6ff5b83..4435b48 100644 (file)
@@ -772,7 +772,6 @@ SetAttributeDataLength(PFILE_OBJECT FileObject,
                        PNTFS_ATTR_CONTEXT AttrContext,
                        ULONG AttrOffset,
                        PFILE_RECORD_HEADER FileRecord,
-                       PDEVICE_EXTENSION DeviceExt,
                        PLARGE_INTEGER DataSize);
 
 ULONG
index 9d11189..5afb87e 100644 (file)
@@ -422,7 +422,7 @@ NTSTATUS NtfsWriteFile(PDEVICE_EXTENSION DeviceExt,
             AllocationSize = ROUND_UP(DataSize.QuadPart, Fcb->Vcb->NtfsInfo.BytesPerCluster);
 
             // set the attribute data length
-            Status = SetAttributeDataLength(FileObject, Fcb, DataContext, AttributeOffset, FileRecord, DeviceExt, &DataSize);
+            Status = SetAttributeDataLength(FileObject, Fcb, DataContext, AttributeOffset, FileRecord, &DataSize);
             
             if (!NT_SUCCESS(Status))
             {