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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 488f829a8879..1ee19c918686 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -2464,7 +2464,8 @@ out_stop:
2464static ext4_fsblk_t ext4_get_inode_block(struct super_block *sb, 2464static ext4_fsblk_t ext4_get_inode_block(struct super_block *sb,
2465 unsigned long ino, struct ext4_iloc *iloc) 2465 unsigned long ino, struct ext4_iloc *iloc)
2466{ 2466{
2467 unsigned long desc, group_desc, block_group; 2467 unsigned long desc, group_desc;
2468 ext4_group_t block_group;
2468 unsigned long offset; 2469 unsigned long offset;
2469 ext4_fsblk_t block; 2470 ext4_fsblk_t block;
2470 struct buffer_head *bh; 2471 struct buffer_head *bh;
@@ -2551,7 +2552,7 @@ static int __ext4_get_inode_loc(struct inode *inode,
2551 struct ext4_group_desc *desc; 2552 struct ext4_group_desc *desc;
2552 int inodes_per_buffer; 2553 int inodes_per_buffer;
2553 int inode_offset, i; 2554 int inode_offset, i;
2554 int block_group; 2555 ext4_group_t block_group;
2555 int start; 2556 int start;
2556 2557
2557 block_group = (inode->i_ino - 1) / 2558 block_group = (inode->i_ino - 1) /