projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libxfs: pack the agfl header structure so XFS_AGFL_SIZE is correct
[firefly-linux-kernel-4.4.55.git]
/
fs
/
xfs
/
libxfs
/
xfs_format.h
diff --git
a/fs/xfs/libxfs/xfs_format.h
b/fs/xfs/libxfs/xfs_format.h
index 8774498ce0ffab68918e69e6f29571a8a34e969e..e2536bb1c760036af5efff9e13437a26b179da27 100644
(file)
--- a/
fs/xfs/libxfs/xfs_format.h
+++ b/
fs/xfs/libxfs/xfs_format.h
@@
-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)