|
@@ -1842,7 +1842,7 @@ int ext4_inline_data_fiemap(struct inode *inode,
|
|
|
if (error)
|
|
|
goto out;
|
|
|
|
|
|
- physical = iloc.bh->b_blocknr << inode->i_sb->s_blocksize_bits;
|
|
|
+ physical = (__u64)iloc.bh->b_blocknr << inode->i_sb->s_blocksize_bits;
|
|
|
physical += (char *)ext4_raw_inode(&iloc) - iloc.bh->b_data;
|
|
|
physical += offsetof(struct ext4_inode, i_block);
|
|
|
length = i_size_read(inode);
|