diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-06-30 19:14:57 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-06-30 19:14:57 -0400 |
commit | f6fb99cadcd44660c68e13f6eab28333653621e6 (patch) | |
tree | 4075bd09e5ec75bbeaa9d0ca498e50cfb0c45dfe /fs/ext4/ext4.h | |
parent | f4e95b3316c4daa43224753bb98f41456fef86c7 (diff) |
ext4: pass a char * to ext4_count_free() instead of a buffer_head ptr
Make it possible for ext4_count_free to operate on buffers and not
just data in buffer_heads.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index cfc4e01b3c83..293fa1ced21b 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -1852,7 +1852,7 @@ struct mmpd_data { | |||
1852 | # define NORET_AND noreturn, | 1852 | # define NORET_AND noreturn, |
1853 | 1853 | ||
1854 | /* bitmap.c */ | 1854 | /* bitmap.c */ |
1855 | extern unsigned int ext4_count_free(struct buffer_head *, unsigned); | 1855 | extern unsigned int ext4_count_free(char *bitmap, unsigned numchars); |
1856 | void ext4_inode_bitmap_csum_set(struct super_block *sb, ext4_group_t group, | 1856 | void ext4_inode_bitmap_csum_set(struct super_block *sb, ext4_group_t group, |
1857 | struct ext4_group_desc *gdp, | 1857 | struct ext4_group_desc *gdp, |
1858 | struct buffer_head *bh, int sz); | 1858 | struct buffer_head *bh, int sz); |