diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-17 02:30:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 11:43:03 -0400 |
commit | 5ebf2c1260705a2ce51ad19af33059f08211579d (patch) | |
tree | a710660aaa499f17239f62328e75cb7159da4d3b /include/linux | |
parent | 4d936ec1fdc1541cd6d59d21ddb8b9386e2fcc4c (diff) |
bitmap.h: remove dead artifacts
bitmap_active() no longer exists and BITMAP_ACTIVE is no longer used.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Cc: Neil Brown <neilb@suse.de>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/raid/bitmap.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/raid/bitmap.h b/include/linux/raid/bitmap.h index 75e17a05540e..306a1d1a5af0 100644 --- a/include/linux/raid/bitmap.h +++ b/include/linux/raid/bitmap.h | |||
@@ -138,7 +138,6 @@ typedef __u16 bitmap_counter_t; | |||
138 | 138 | ||
139 | /* use these for bitmap->flags and bitmap->sb->state bit-fields */ | 139 | /* use these for bitmap->flags and bitmap->sb->state bit-fields */ |
140 | enum bitmap_state { | 140 | enum bitmap_state { |
141 | BITMAP_ACTIVE = 0x001, /* the bitmap is in use */ | ||
142 | BITMAP_STALE = 0x002, /* the bitmap file is out of date or had -EIO */ | 141 | BITMAP_STALE = 0x002, /* the bitmap file is out of date or had -EIO */ |
143 | BITMAP_WRITE_ERROR = 0x004, /* A write error has occurred */ | 142 | BITMAP_WRITE_ERROR = 0x004, /* A write error has occurred */ |
144 | BITMAP_HOSTENDIAN = 0x8000, | 143 | BITMAP_HOSTENDIAN = 0x8000, |
@@ -258,7 +257,6 @@ struct bitmap { | |||
258 | int bitmap_create(mddev_t *mddev); | 257 | int bitmap_create(mddev_t *mddev); |
259 | void bitmap_flush(mddev_t *mddev); | 258 | void bitmap_flush(mddev_t *mddev); |
260 | void bitmap_destroy(mddev_t *mddev); | 259 | void bitmap_destroy(mddev_t *mddev); |
261 | int bitmap_active(struct bitmap *bitmap); | ||
262 | 260 | ||
263 | char *file_path(struct file *file, char *buf, int count); | 261 | char *file_path(struct file *file, char *buf, int count); |
264 | void bitmap_print_sb(struct bitmap *bitmap); | 262 | void bitmap_print_sb(struct bitmap *bitmap); |