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) | |
download | blackbird-op-linux-f6fb99cadcd44660c68e13f6eab28333653621e6.tar.gz blackbird-op-linux-f6fb99cadcd44660c68e13f6eab28333653621e6.zip |
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 { # define NORET_AND noreturn, /* bitmap.c */ -extern unsigned int ext4_count_free(struct buffer_head *, unsigned); +extern unsigned int ext4_count_free(char *bitmap, unsigned numchars); void ext4_inode_bitmap_csum_set(struct super_block *sb, ext4_group_t group, struct ext4_group_desc *gdp, struct buffer_head *bh, int sz); |