diff options
-rw-r--r-- | fs/ext4/extents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index a25bbdc7d493..57cf568a98ab 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -3824,7 +3824,7 @@ retry: | |||
3824 | blkbits) >> blkbits)) | 3824 | blkbits) >> blkbits)) |
3825 | new_size = offset + len; | 3825 | new_size = offset + len; |
3826 | else | 3826 | else |
3827 | new_size = (map.m_lblk + ret) << blkbits; | 3827 | new_size = ((loff_t) map.m_lblk + ret) << blkbits; |
3828 | 3828 | ||
3829 | ext4_falloc_update_inode(inode, mode, new_size, | 3829 | ext4_falloc_update_inode(inode, mode, new_size, |
3830 | (map.m_flags & EXT4_MAP_NEW)); | 3830 | (map.m_flags & EXT4_MAP_NEW)); |