diff mbox series

[04/11] fs/ntfs3: Use variable length array instead of fixed size

Message ID 02e53c60-92f6-4d43-a9a1-bf4c17ec021e@paragon-software.com (mailing list archive)
State New
Headers show
Series Bugfix and refactoring | expand

Commit Message

Konstantin Komarov April 17, 2024, 1:06 p.m. UTC
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
---
  fs/ntfs3/ntfs.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/ntfs3/ntfs.h b/fs/ntfs3/ntfs.h
index 9c7478150a03..3d6143c7abc0 100644
--- a/fs/ntfs3/ntfs.h
+++ b/fs/ntfs3/ntfs.h
@@ -59,7 +59,7 @@  struct GUID {
  struct cpu_str {
      u8 len;
      u8 unused;
-    u16 name[10];
+    u16 name[];
  };

  struct le_str {