diff options
-rw-r--r-- | fs/ext2/inode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index be0d02ac7ac4..384fc0d1dd74 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c | |||
@@ -254,13 +254,13 @@ no_block: | |||
254 | * Caller must make sure that @ind is valid and will stay that way. | 254 | * Caller must make sure that @ind is valid and will stay that way. |
255 | */ | 255 | */ |
256 | 256 | ||
257 | static unsigned long ext2_find_near(struct inode *inode, Indirect *ind) | 257 | static ext2_fsblk_t ext2_find_near(struct inode *inode, Indirect *ind) |
258 | { | 258 | { |
259 | struct ext2_inode_info *ei = EXT2_I(inode); | 259 | struct ext2_inode_info *ei = EXT2_I(inode); |
260 | __le32 *start = ind->bh ? (__le32 *) ind->bh->b_data : ei->i_data; | 260 | __le32 *start = ind->bh ? (__le32 *) ind->bh->b_data : ei->i_data; |
261 | __le32 *p; | 261 | __le32 *p; |
262 | unsigned long bg_start; | 262 | ext2_fsblk_t bg_start; |
263 | unsigned long colour; | 263 | ext2_fsblk_t colour; |
264 | 264 | ||
265 | /* Try to find previous block */ | 265 | /* Try to find previous block */ |
266 | for (p = ind->p - 1; p >= start; p--) | 266 | for (p = ind->p - 1; p >= start; p--) |
@@ -290,8 +290,8 @@ static unsigned long ext2_find_near(struct inode *inode, Indirect *ind) | |||
290 | * Returns preferred place for a block (the goal). | 290 | * Returns preferred place for a block (the goal). |
291 | */ | 291 | */ |
292 | 292 | ||
293 | static inline int ext2_find_goal(struct inode *inode, long block, | 293 | static inline ext2_fsblk_t ext2_find_goal(struct inode *inode, long block, |
294 | Indirect *partial) | 294 | Indirect *partial) |
295 | { | 295 | { |
296 | struct ext2_block_alloc_info *block_i; | 296 | struct ext2_block_alloc_info *block_i; |
297 | 297 | ||