aboutsummaryrefslogtreecommitdiffstats
path: root/core/fs/ntfs/ntfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fs/ntfs/ntfs.h')
-rw-r--r--core/fs/ntfs/ntfs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/fs/ntfs/ntfs.h b/core/fs/ntfs/ntfs.h
index 9e6da4d9..9dbaf8f5 100644
--- a/core/fs/ntfs/ntfs.h
+++ b/core/fs/ntfs/ntfs.h
@@ -40,7 +40,7 @@ struct ntfs_bpb {
uint64_t mft_mirr_lclust;
int8_t clust_per_mft_record;
uint8_t unused_4[3];
- uint8_t clust_per_idx_buf;
+ uint8_t clust_per_idx_record;
uint8_t unused_5[3];
uint64_t vol_serial;
uint32_t unused_6;
@@ -51,10 +51,11 @@ struct ntfs_bpb {
struct ntfs_sb_info {
block_t mft_blk; /* The first MFT record block */
uint64_t mft_lcn; /* LCN of the first MFT record */
-
unsigned mft_size; /* The MFT size in sectors */
uint64_t mft_record_size; /* MFT record size in bytes */
+ uint8_t clust_per_idx_record; /* Clusters per Index Record */
+
unsigned long long clusters; /* Total number of clusters */
unsigned clust_shift; /* Based on sectors */