summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorDarrick J. Wong2013-08-28 21:59:51 +0200
committerTheodore Ts'o2013-08-28 21:59:51 +0200
commitdbde0abed8c6e9e938c2194675ce63f5769b0d37 (patch)
tree35cba4a017c7baa598242855de8aecdfca011294 /fs/ext4/ext4.h
parentext4: error out if verifying the block bitmap fails (diff)
downloadkernel-qcow2-linux-dbde0abed8c6e9e938c2194675ce63f5769b0d37.tar.gz
kernel-qcow2-linux-dbde0abed8c6e9e938c2194675ce63f5769b0d37.tar.xz
kernel-qcow2-linux-dbde0abed8c6e9e938c2194675ce63f5769b0d37.zip
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/ext4.h')
-rw-r--r--fs/ext4/ext4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 28896655ad41..2e5818267565 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1930,7 +1930,7 @@ extern ext4_group_t ext4_get_group_number(struct super_block *sb,
extern void ext4_validate_block_bitmap(struct super_block *sb,
struct ext4_group_desc *desc,
- unsigned int block_group,
+ ext4_group_t block_group,
struct buffer_head *bh);
extern unsigned int ext4_block_group(struct super_block *sb,
ext4_fsblk_t blocknr);