Skip to content

Commit 986da13

Browse files
committed
NTFS: BitmapData: Renamed parameter
1 parent 0aa470b commit 986da13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

DiskAccessLibrary/FileSystems/NTFS/AttributeData/BitmapData.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (C) 2018 Tal Aloni <[email protected]>. All rights reserved.
1+
/* Copyright (C) 2018-2019 Tal Aloni <[email protected]>. All rights reserved.
22
*
33
* You can redistribute this program and/or modify it under the terms of
44
* the GNU Lesser Public License as published by the Free Software Foundation,
@@ -111,15 +111,15 @@ public void ExtendBitmap(long numberOfBits)
111111
ExtendBitmap(numberOfBits, false);
112112
}
113113

114-
/// <param name="prewriteBytes">True to zero out the extension in advance, False to rely on ValidDataLength</param>
115-
internal void ExtendBitmap(long numberOfBits, bool prewriteBytes)
114+
/// <param name="zeroOutExtensionInAdvance">True to zero out the extension in advance, False to rely on ValidDataLength</param>
115+
internal void ExtendBitmap(long numberOfBits, bool zeroOutExtensionInAdvance)
116116
{
117117
long numberOfUnusedBits = (long)(this.Length * 8 - (ulong)m_numberOfUsableBits);
118118
if (numberOfBits > numberOfUnusedBits)
119119
{
120120
long additionalBits = numberOfBits - numberOfUnusedBits;
121121
ulong additionalBytes = (ulong)(Math.Ceiling((double)additionalBits / (ExtendGranularity * 8)) * ExtendGranularity);
122-
if (prewriteBytes)
122+
if (zeroOutExtensionInAdvance)
123123
{
124124
this.WriteBytes(this.Length, new byte[additionalBytes]);
125125
}

0 commit comments

Comments
 (0)