ext4: pass a char * to ext4_count_free() instead of a buffer_head ptr
authorTheodore Ts'o <tytso@mit.edu>
Sat, 30 Jun 2012 23:14:57 +0000 (19:14 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 2 Aug 2012 13:37:43 +0000 (14:37 +0100)
commit2a129c733126dba186f325cb29041e49c6c22347
tree92e2dc18aff5742f0106a57ec7b1b17c9d30686e
parent0331c3a64bd80c9fd4cb453a19d0e7c888ca50ce
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>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/ext4/balloc.c
fs/ext4/bitmap.c
fs/ext4/ext4.h
fs/ext4/ialloc.c