Whamcloud - gitweb
debugfs: Correctly show the allocation status of a block using logdump
authorTheodore Ts'o <tytso@mit.edu>
Sun, 14 Mar 2010 23:02:57 +0000 (19:02 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 15 Mar 2010 04:14:12 +0000 (00:14 -0400)
commitde2c477815dc6c842db60ef9187c7fddaaa3cd48
tree044ddab81b83f648cf6f6f5fee32ee8c18b3615b
parent751265b0b49a5ff7c746d111a11bb883aa300841
debugfs: Correctly show the allocation status of a block using logdump

The offset in the bitmap was not getting correctly calculated when the
user specifics a block to track using "logdump -b <block-num>"

Addresses-Debian-Bug: #564084

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debugfs/logdump.c