mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
xfs: mark struct xfs_imap as __packed
This returns 2 bytes of padding at the to struct xfs_inode into which this structure is embedded. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
This commit is contained in:
parent
9b64ca202f
commit
4f16139d8e
|
|
@ -16,7 +16,7 @@ struct xfs_dinode;
|
|||
struct xfs_imap {
|
||||
xfs_agblock_t im_agbno; /* starting agbno of inode cluster */
|
||||
unsigned short im_boffset; /* offset in inode cluster in bytes */
|
||||
};
|
||||
} __packed;
|
||||
|
||||
int xfs_read_icluster(struct xfs_perag *pag, struct xfs_trans *tp,
|
||||
xfs_agblock_t agbno, struct xfs_buf **bpp);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user