diff options
author | Ethan Ferguson <ethan.ferguson@zetier.com> | 2025-08-28 16:37:14 -0400 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2025-09-10 11:01:18 +0200 |
commit | 80ff677b55b5186b2844a2d4f4c91c01ef836276 (patch) | |
tree | f97dd3a289aa51297ded61aa4a7aa9be3f7f3736 | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
ntfs3: transition magic number to shared constant
Use the common FSLABEL_MAX constant instead of a hardcoded magic
constant of 256.
Signed-off-by: Ethan Ferguson <ethan.ferguson@zetier.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
-rw-r--r-- | fs/ntfs3/ntfs_fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ntfs3/ntfs_fs.h b/fs/ntfs3/ntfs_fs.h index 1296e6fcc779..630128716ea7 100644 --- a/fs/ntfs3/ntfs_fs.h +++ b/fs/ntfs3/ntfs_fs.h @@ -280,7 +280,7 @@ struct ntfs_sb_info { __le16 flags; // Cached current VOLUME_INFO::flags, VOLUME_FLAG_DIRTY. u8 major_ver; u8 minor_ver; - char label[256]; + char label[FSLABEL_MAX]; bool real_dirty; // Real fs state. } volume; |