ext4: convert number of blocks to clusters properly
authorLukas Czerner <lczerner@redhat.com>
Sat, 2 Mar 2013 22:18:58 +0000 (17:18 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 2 Mar 2013 22:18:58 +0000 (17:18 -0500)
commit810da240f221d64bf90020f25941b05b378186fe
tree9fb624e43c624bf8e38077804ca2f95026c11b53
parent3e36a16375eee390a9d80f99499fe630efa08128
ext4: convert number of blocks to clusters properly

We're using macro EXT4_B2C() to convert number of blocks to number of
clusters for bigalloc file systems.  However, we should be using
EXT4_NUM_B2C().

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/balloc.c
fs/ext4/mballoc.c
fs/ext4/resize.c
fs/ext4/super.c