]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/xfs/libxfs/xfs_format.h
libxfs: pack the agfl header structure so XFS_AGFL_SIZE is correct
[karo-tx-linux.git] / fs / xfs / libxfs / xfs_format.h
index 8774498ce0ffab68918e69e6f29571a8a34e969e..e2536bb1c760036af5efff9e13437a26b179da27 100644 (file)
@@ -786,7 +786,7 @@ typedef struct xfs_agfl {
        __be64          agfl_lsn;
        __be32          agfl_crc;
        __be32          agfl_bno[];     /* actually XFS_AGFL_SIZE(mp) */
-} xfs_agfl_t;
+} __attribute__((packed)) xfs_agfl_t;
 
 #define XFS_AGFL_CRC_OFF       offsetof(struct xfs_agfl, agfl_crc)