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
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-09 08:27:51 -0700
commit6ff2c41b81bd0778aa44ffcfce0ea623fa660887 (patch)
treed1ce1e944f62b249f2e673a79c8b704fc7ac5cc5 /fs/ext4/ext4.h
parenteb65b85e1bce06b665b3568c19a249cd886fa6ff (diff)
downloadkernel_samsung_smdk4412-6ff2c41b81bd0778aa44ffcfce0ea623fa660887.zip
kernel_samsung_smdk4412-6ff2c41b81bd0778aa44ffcfce0ea623fa660887.tar.gz
kernel_samsung_smdk4412-6ff2c41b81bd0778aa44ffcfce0ea623fa660887.tar.bz2
ext4: pass a char * to ext4_count_free() instead of a buffer_head ptr
commit f6fb99cadcd44660c68e13f6eab28333653621e6 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.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 1a34c1c..e0113aa 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1713,7 +1713,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);
/* balloc.c */
extern unsigned int ext4_block_group(struct super_block *sb,