summaryrefslogtreecommitdiff
path: root/debugfs/lsdel.c
diff options
context:
space:
mode:
authorValerie Aurora Henson <vaurora@redhat.com>2009-09-07 20:46:34 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-09-07 20:46:34 -0400
commit4efbac6fed75c29d3d5f1b676b932754653a2ac5 (patch)
treeb5abaa3d97e473970064e649d9ed6f661b447a22 /debugfs/lsdel.c
parenta63745e81cbb476b90c75ca3ca60b9ba4be95cae (diff)
downloade2fsprogs-4efbac6fed75c29d3d5f1b676b932754653a2ac5.tar.gz
Convert uses of super->s_*_blocks_count to ext2fs_*_blocks_count()
Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com> Signed-off-by: Nick Dokos <nicholas.dokos@hp.com> Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'debugfs/lsdel.c')
-rw-r--r--debugfs/lsdel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugfs/lsdel.c b/debugfs/lsdel.c
index 074fd165..7d9a74c4 100644
--- a/debugfs/lsdel.c
+++ b/debugfs/lsdel.c
@@ -59,7 +59,7 @@ static int lsdel_proc(ext2_filsys fs,
lsd->num_blocks++;
if (*block_nr < fs->super->s_first_data_block ||
- *block_nr >= fs->super->s_blocks_count) {
+ *block_nr >= ext2fs_blocks_count(fs->super)) {
lsd->bad_blocks++;
return BLOCK_ABORT;
}