hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/fs/adfs/dir_fplus.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/fs/adfs/dir_fplus.h
34 *
45 * Copyright (C) 1999 Russell King
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License version 2 as
8
- * published by the Free Software Foundation.
96 *
107 * Structures of directories on the F+ format disk
118 */
....@@ -25,7 +22,7 @@
2522 __le32 bigdirnamesize;
2623 __le32 bigdirparent;
2724 char bigdirname[1];
28
-};
25
+} __attribute__((packed, aligned(4)));
2926
3027 struct adfs_bigdirentry {
3128 __le32 bigdirload;
....@@ -35,11 +32,11 @@
3532 __le32 bigdirattr;
3633 __le32 bigdirobnamelen;
3734 __le32 bigdirobnameptr;
38
-};
35
+} __attribute__((packed, aligned(4)));
3936
4037 struct adfs_bigdirtail {
4138 __le32 bigdirendname;
4239 __u8 bigdirendmasseq;
4340 __u8 reserved[2];
4441 __u8 bigdircheckbyte;
45
-};
42
+} __attribute__((packed, aligned(4)));