aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2012-06-30 19:14:57 -0400
committerTheodore Ts'o <tytso@mit.edu>2012-06-30 19:14:57 -0400
commitf6fb99cadcd44660c68e13f6eab28333653621e6 (patch)
tree4075bd09e5ec75bbeaa9d0ca498e50cfb0c45dfe /fs/ext4/ext4.h
parentf4e95b3316c4daa43224753bb98f41456fef86c7 (diff)
downloadkernel_goldelico_gta04-f6fb99cadcd44660c68e13f6eab28333653621e6.zip
kernel_goldelico_gta04-f6fb99cadcd44660c68e13f6eab28333653621e6.tar.gz
kernel_goldelico_gta04-f6fb99cadcd44660c68e13f6eab28333653621e6.tar.bz2
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index cfc4e01..293fa1c 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);