]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - fs/cifs/smb2pdu.h
cifs: Replace remaining 1-element arrays
[thirdparty/linux.git] / fs / cifs / smb2pdu.h
index 1237bb86e93a83995b806c0b5a073beef99c8aaa..3ad7ec44317c0a71227ff2e419e2d60d737f5cdf 100644 (file)
@@ -371,7 +371,7 @@ struct smb2_file_id_extd_directory_info {
        __le32 EaSize; /* EA size */
        __le32 ReparsePointTag; /* valid if FILE_ATTR_REPARSE_POINT set in FileAttributes */
        __le64 UniqueId; /* inode num - le since Samba puts ino in low 32 bit */
-       char FileName[1];
+       char FileName[];
 } __packed; /* level 60 */
 
 extern char smb2_padding[7];