From 05c32a26e1e49fc2c9d5df3223e2b0b973303cf2 Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Sat, 25 Jan 2003 17:02:31 +0000 Subject: [PATCH] small tidyup (Logical change 1.110) --- include/volume.h | 4 ++-- libntfs/bitmap.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/volume.h b/include/volume.h index 94074ec0..4820cfd5 100644 --- a/include/volume.h +++ b/include/volume.h @@ -123,7 +123,7 @@ struct _ntfs_volume { s64 nr_mft_records; /* Number of records in the mft, equals the number of bits in mft_bitmap. */ - s64 mft_lcn; /* Logical cluster number of the data attribute + LCN mft_lcn; /* Logical cluster number of the data attribute for FILE_MFT. */ ntfs_inode *mft_ni; /* ntfs_inode structure for FILE_MFT. */ ntfs_attr *mft_na; /* ntfs_attr structure for the data attribute @@ -136,7 +136,7 @@ struct _ntfs_volume { vice versa. */ int mftmirr_size; /* Size of the FILE_MFTMirr in mft records. */ - s64 mftmirr_lcn; /* Logical cluster number of the data attribute + LCN mftmirr_lcn; /* Logical cluster number of the data attribute for FILE_MFTMirr. */ ntfs_inode *mftmirr_ni; /* ntfs_inode structure for FILE_MFTMirr. */ ntfs_attr *mftmirr_na; /* ntfs_attr structure for the data attribute diff --git a/libntfs/bitmap.c b/libntfs/bitmap.c index 45e0f148..c4eb3b1c 100644 --- a/libntfs/bitmap.c +++ b/libntfs/bitmap.c @@ -44,8 +44,8 @@ static int ntfs_bitmap_set_bits_in_run(ntfs_attr *na, s64 start_bit, s64 count, int value) { - u8 *buf, *lastbyte_buf; s64 bufsize, br; + u8 *buf, *lastbyte_buf; int bit, firstbyte, lastbyte, lastbyte_pos, tmp, err; if (!na || start_bit < 0 || count < 0) {