summaryrefslogtreecommitdiffstats
path: root/fs/ntfs3/ntfs_fs.h
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2021-09-28 18:19:49 +0200
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2021-09-30 18:41:46 +0200
commitdbf59e2a33d2cb5ae0534523fd3d6d8bda808be8 (patch)
treed864235a0380c82ea0bad9c79c7f8f857b9cc9f8 /fs/ntfs3/ntfs_fs.h
parentfs/ntfs3: Reject mount if boot's cluster size < media sector size (diff)
downloadlinux-dbf59e2a33d2cb5ae0534523fd3d6d8bda808be8.tar.xz
linux-dbf59e2a33d2cb5ae0534523fd3d6d8bda808be8.zip
fs/ntfs3: Refactoring of ntfs_init_from_boot
Remove ntfs_sb_info members sector_size and sector_bits. Print details why mount failed. Reviewed-by: Kari Argillander <kari.argillander@gmail.com> Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/ntfs_fs.h')
-rw-r--r--fs/ntfs3/ntfs_fs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ntfs3/ntfs_fs.h b/fs/ntfs3/ntfs_fs.h
index 6731b5d9e2d8..38b7c1a9dc52 100644
--- a/fs/ntfs3/ntfs_fs.h
+++ b/fs/ntfs3/ntfs_fs.h
@@ -211,10 +211,8 @@ struct ntfs_sb_info {
u32 blocks_per_cluster; // cluster_size / sb->s_blocksize
u32 record_size;
- u32 sector_size;
u32 index_size;
- u8 sector_bits;
u8 cluster_bits;
u8 record_bits;