Whamcloud - gitweb
libext2fs: call numeric_progress functions through a operations struct
authorTheodore Ts'o <tytso@mit.edu>
Mon, 30 Jul 2012 21:16:51 +0000 (17:16 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 30 Jul 2012 21:19:19 +0000 (17:19 -0400)
commitdfe74c5c676406d747cdf224d7da8a09f82f2659
treec3abc9f707d83a297324ae629b41798ec4521784
parentbc0b1a899a646266e37e80d5e6e880a8c3a3b204
libext2fs: call numeric_progress functions through a operations struct

Instead of calling ext2fs_numeric_progress_*() directly from closefs.c
and alloc_tables.c, call it via a operations structure which is only
initialized by the one program (mke2fs) which needs it.

This reduces the number of C library symbols needed by boot loader
systems such as yaboot.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/alloc_tables.c
lib/ext2fs/closefs.c
lib/ext2fs/ext2fs.h
lib/ext2fs/ext2fsP.h
lib/ext2fs/progress.c
misc/mke2fs.c