Skip to content

Commit

Permalink
md: remove some dead fields from mddev_s
Browse files Browse the repository at this point in the history
These fields have never been used.
commit 4b6d287
added them, but also added identical files to bitmap_super_s,
and only used the latter.

So remove these unused fields.

Signed-off-by: NeilBrown <neilb@suse.de>
  • Loading branch information
NeilBrown committed May 18, 2010
1 parent 964147d commit ee8b81b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/md/md.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,6 @@ struct mddev_s
atomic_t writes_pending;
struct request_queue *queue; /* for plugging ... */

atomic_t write_behind; /* outstanding async IO */
unsigned int max_write_behind; /* 0 = sync */

struct bitmap *bitmap; /* the bitmap for the device */
struct {
struct file *file; /* the bitmap file */
Expand Down

0 comments on commit ee8b81b

Please sign in to comment.