Message ID | 20241112182257.172746-2-thorsten.blum@linux.dev (mailing list archive) |
---|---|
State | In Next |
Commit | 243a3995a5a78306e770966eea2204beac4b7ee7 |
Headers | show |
Series | [RESEND,v2] ext4: Annotate struct fname with __counted_by() | expand |
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c index ef6a3c8f3a9a..233479647f1b 100644 --- a/fs/ext4/dir.c +++ b/fs/ext4/dir.c @@ -418,7 +418,7 @@ struct fname { __u32 inode; __u8 name_len; __u8 file_type; - char name[]; + char name[] __counted_by(name_len); }; /*