ext4: use ext4_data_block_valid() in ext4_free_blocks()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 23 Nov 2009 01:48:42 +0000 (20:48 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Nov 2009 01:48:42 +0000 (20:48 -0500)
commit9084d4719784b00ff0bf9c9580007fac8277dbcb
treeb929aefb4a1a57111de33f6745db95e9c0407fff
parent1585d8d89ae1791d8f957731f5655700fbcc5664
ext4: use ext4_data_block_valid() in ext4_free_blocks()

The block validity framework does a more comprehensive set of checks,
and it saves object code space to use the ext4_data_block_valid() than
the limited open-coded version that had been in ext4_free_blocks().

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c