aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index ac08460921aa..3ae83137cf34 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -1091,7 +1091,7 @@ static int ext4_indirect_calc_metadata_amount(struct inode *inode,
1091 * Calculate the number of metadata blocks need to reserve 1091 * Calculate the number of metadata blocks need to reserve
1092 * to allocate a block located at @lblock 1092 * to allocate a block located at @lblock
1093 */ 1093 */
1094static int ext4_calc_metadata_amount(struct inode *inode, sector_t lblock) 1094static int ext4_calc_metadata_amount(struct inode *inode, ext4_lblk_t lblock)
1095{ 1095{
1096 if (ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS)) 1096 if (ext4_test_inode_flag(inode, EXT4_INODE_EXTENTS))
1097 return ext4_ext_calc_metadata_amount(inode, lblock); 1097 return ext4_ext_calc_metadata_amount(inode, lblock);
@@ -1888,7 +1888,7 @@ static int ext4_journalled_write_end(struct file *file,
1888/* 1888/*
1889 * Reserve a single block located at lblock 1889 * Reserve a single block located at lblock
1890 */ 1890 */
1891static int ext4_da_reserve_space(struct inode *inode, sector_t lblock) 1891static int ext4_da_reserve_space(struct inode *inode, ext4_lblk_t lblock)
1892{ 1892{
1893 int retries = 0; 1893 int retries = 0;
1894 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); 1894 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);