author: Gustavo A. R. Silva <gustavoars@kernel.org> 2021-05-06 18:04:19 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-05-06 19:24:13 -0700
commit: c1e4726f4654407bfd509bb8fc7324b96f2f9285
parent: 312f79c486e9860ec4c2ec4ef5b89fd518d9c833
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/fs/hpfs/hpfs.h b/fs/hpfs/hpfs.h
index 302f45101a96..d92c4af3e1b4 100644
--- a/fs/hpfs/hpfs.h
+++ b/fs/hpfs/hpfs.h
@@ -356,7 +356,8 @@ struct hpfs_dirent {
u8 no_of_acls; /* number of ACL's (low 3 bits) */
u8 ix; /* code page index (of filename), see
struct code_page_data */
- u8 namelen, name[1]; /* file name */
+ u8 namelen; /* file name length */
+ u8 name[]; /* file name */
/* dnode_secno down; btree down pointer, if present,
follows name on next word boundary, or maybe it
precedes next dirent, which is on a word boundary. */