https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f47efca89f47655cf845b…
commit f47efca89f47655cf845bfe7f8a84faba40f4b05
Author: Trevor Thompson <tmt256(a)email.vccs.edu>
AuthorDate: Sun Jun 26 17:03:31 2016 +0000
[NTFS]
Remove unused parameter from SetAttributeDataLength.
svn path=/branches/GSoC_2016/NTFS/; revision=71677
---
drivers/filesystems/ntfs/mft.c | 1 -
drivers/filesystems/ntfs/ntfs.h | 1 -
drivers/filesystems/ntfs/rw.c | 2 +-
3 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/filesystems/ntfs/mft.c b/drivers/filesystems/ntfs/mft.c
index 5d61f534dd..ae2a6cc2ba 100644
--- a/drivers/filesystems/ntfs/mft.c
+++ b/drivers/filesystems/ntfs/mft.c
@@ -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)
diff --git a/drivers/filesystems/ntfs/ntfs.h b/drivers/filesystems/ntfs/ntfs.h
index 6ff5b83800..4435b4866e 100644
--- a/drivers/filesystems/ntfs/ntfs.h
+++ b/drivers/filesystems/ntfs/ntfs.h
@@ -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
diff --git a/drivers/filesystems/ntfs/rw.c b/drivers/filesystems/ntfs/rw.c
index 9d11189631..5afb87e9e6 100644
--- a/drivers/filesystems/ntfs/rw.c
+++ b/drivers/filesystems/ntfs/rw.c
@@ -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))
{