diff options
author | NeilBrown <neilb@suse.de> | 2012-03-19 02:46:40 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-03-19 02:46:40 +0100 |
commit | 57148964d946614ffc6621539096ded1e7d896ab (patch) | |
tree | d4bdadf58d740fcdb3c65063a5706cc3902f2b9b /drivers/md/bitmap.h | |
parent | md/bitmap: remove some unused noise from bitmap.h (diff) | |
download | linux-57148964d946614ffc6621539096ded1e7d896ab.tar.xz linux-57148964d946614ffc6621539096ded1e7d896ab.zip |
md/bitmap: move printing of bitmap status to bitmap.c
The part of /proc/mdstat which describes the bitmap should really
be generated by code in bitmap.c. So move it there.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/bitmap.h')
-rw-r--r-- | drivers/md/bitmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/bitmap.h b/drivers/md/bitmap.h index 557e3e8ea73b..e196e6a560e8 100644 --- a/drivers/md/bitmap.h +++ b/drivers/md/bitmap.h @@ -227,6 +227,7 @@ void bitmap_destroy(struct mddev *mddev); void bitmap_print_sb(struct bitmap *bitmap); void bitmap_update_sb(struct bitmap *bitmap); +void bitmap_status(struct seq_file *seq, struct bitmap *bitmap); int bitmap_setallbits(struct bitmap *bitmap); void bitmap_write_all(struct bitmap *bitmap); |