diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2013-08-28 15:59:51 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-08-28 15:59:51 -0400 |
commit | dbde0abed8c6e9e938c2194675ce63f5769b0d37 (patch) | |
tree | 35cba4a017c7baa598242855de8aecdfca011294 /fs/ext4/balloc.c | |
parent | 48d9eb97dc74d2446bcc3630c8e51d2afc9b951d (diff) |
ext4: fix type declaration of ext4_validate_block_bitmap
The block_group parameter to ext4_validate_block_bitmap is both used
as a ext4_group_t inside the function and the same type is passed in
by all callers. We might as well use the typedef consistently instead
of open-coding the 'unsigned int'.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r-- | fs/ext4/balloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index b430afe77f0c..a40b1f96c021 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c | |||
@@ -305,7 +305,7 @@ struct ext4_group_desc * ext4_get_group_desc(struct super_block *sb, | |||
305 | */ | 305 | */ |
306 | static ext4_fsblk_t ext4_valid_block_bitmap(struct super_block *sb, | 306 | static ext4_fsblk_t ext4_valid_block_bitmap(struct super_block *sb, |
307 | struct ext4_group_desc *desc, | 307 | struct ext4_group_desc *desc, |
308 | unsigned int block_group, | 308 | ext4_group_t block_group, |
309 | struct buffer_head *bh) | 309 | struct buffer_head *bh) |
310 | { | 310 | { |
311 | ext4_grpblk_t offset; | 311 | ext4_grpblk_t offset; |
@@ -352,7 +352,7 @@ static ext4_fsblk_t ext4_valid_block_bitmap(struct super_block *sb, | |||
352 | 352 | ||
353 | void ext4_validate_block_bitmap(struct super_block *sb, | 353 | void ext4_validate_block_bitmap(struct super_block *sb, |
354 | struct ext4_group_desc *desc, | 354 | struct ext4_group_desc *desc, |
355 | unsigned int block_group, | 355 | ext4_group_t block_group, |
356 | struct buffer_head *bh) | 356 | struct buffer_head *bh) |
357 | { | 357 | { |
358 | ext4_fsblk_t blk; | 358 | ext4_fsblk_t blk; |