|
@@ -4679,7 +4679,7 @@ static int ext4_xattr_fiemap(struct inode *inode,
|
|
|
error = ext4_get_inode_loc(inode, &iloc);
|
|
|
if (error)
|
|
|
return error;
|
|
|
- physical = iloc.bh->b_blocknr << blockbits;
|
|
|
+ physical = (__u64)iloc.bh->b_blocknr << blockbits;
|
|
|
offset = EXT4_GOOD_OLD_INODE_SIZE +
|
|
|
EXT4_I(inode)->i_extra_isize;
|
|
|
physical += offset;
|
|
@@ -4687,7 +4687,7 @@ static int ext4_xattr_fiemap(struct inode *inode,
|
|
|
flags |= FIEMAP_EXTENT_DATA_INLINE;
|
|
|
brelse(iloc.bh);
|
|
|
} else { /* external block */
|
|
|
- physical = EXT4_I(inode)->i_file_acl << blockbits;
|
|
|
+ physical = (__u64)EXT4_I(inode)->i_file_acl << blockbits;
|
|
|
length = inode->i_sb->s_blocksize;
|
|
|
}
|
|
|
|