summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-02-27 15:10:20 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-02-27 15:10:20 -0500
commit4f9abdcb306ff515a8009a1e0fd35041688133c9 (patch)
treec3238fc2207519b87ef7ab7fbfcbf91a864f968a
parent558df54458075856b3a76051648323643a56dadc (diff)
downloade2fsprogs-4f9abdcb306ff515a8009a1e0fd35041688133c9.tar.gz
e2fsck: Print an explicit message when the bad block inode is updated
Some users were confused about why the filesystem was modified. Addresses-Sourceforge-Bug: #756460 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--e2fsck/badblocks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/e2fsck/badblocks.c b/e2fsck/badblocks.c
index 36dc208e..72f88aa7 100644
--- a/e2fsck/badblocks.c
+++ b/e2fsck/badblocks.c
@@ -97,6 +97,7 @@ void read_bad_blocks_file(e2fsck_t ctx, const char *bad_blocks_file,
/*
* Finally, update the bad blocks from the bad_block_map
*/
+ printf("%s: Updating bad block inode.\n", ctx->device_name);
retval = ext2fs_update_bb_inode(fs, bb_list);
if (retval) {
com_err("ext2fs_update_bb_inode", retval,