mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07: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:
committed by
Carlos Maiolino
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);
|
||||
|
||||
Reference in New Issue
Block a user