|
@@ -2344,7 +2344,8 @@ xfs_imap(
|
|
|
|
|
|
imap->im_blkno = XFS_AGB_TO_DADDR(mp, agno, agbno);
|
|
|
imap->im_len = XFS_FSB_TO_BB(mp, 1);
|
|
|
- imap->im_boffset = (ushort)(offset << mp->m_sb.sb_inodelog);
|
|
|
+ imap->im_boffset = (unsigned short)(offset <<
|
|
|
+ mp->m_sb.sb_inodelog);
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
@@ -2372,7 +2373,7 @@ out_map:
|
|
|
|
|
|
imap->im_blkno = XFS_AGB_TO_DADDR(mp, agno, cluster_agbno);
|
|
|
imap->im_len = XFS_FSB_TO_BB(mp, blks_per_cluster);
|
|
|
- imap->im_boffset = (ushort)(offset << mp->m_sb.sb_inodelog);
|
|
|
+ imap->im_boffset = (unsigned short)(offset << mp->m_sb.sb_inodelog);
|
|
|
|
|
|
/*
|
|
|
* If the inode number maps to a block outside the bounds
|