aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/ntfs3/ntfs_fs.h
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2022-07-07 19:25:43 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2022-08-03 18:25:08 +0300
commit8335ebe195dcc76ece418485a9f08b9a9ad7fe23 (patch)
tree62c29429cb4d057a2f0cc9693d9ece7f976a793e /fs/ntfs3/ntfs_fs.h
parentfs/ntfs3: Check possible errors in run_pack in advance (diff)
downloadwireguard-linux-8335ebe195dcc76ece418485a9f08b9a9ad7fe23.tar.xz
wireguard-linux-8335ebe195dcc76ece418485a9f08b9a9ad7fe23.zip
fs/ntfs3: Make MFT zone less fragmented
Now we take free space after the MFT zone if the MFT zone shrinks. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ntfs3/ntfs_fs.h b/fs/ntfs3/ntfs_fs.h
index 7a728d3589cf..6a2bbf889faa 100644
--- a/fs/ntfs3/ntfs_fs.h
+++ b/fs/ntfs3/ntfs_fs.h
@@ -220,6 +220,7 @@ struct ntfs_sb_info {
u32 flags; // See NTFS_FLAGS_XXX.
+ CLST zone_max; // Maximum MFT zone length in clusters
CLST bad_clusters; // The count of marked bad clusters.
u16 max_bytes_per_attr; // Maximum attribute size in record.