diff options
author | NeilBrown <neilb@suse.com> | 2016-01-04 16:16:58 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2016-01-07 11:01:14 +1100 |
commit | 274d8cbde1bc3bdfb31c5d6a58113dff5cee4f87 (patch) | |
tree | fb09fc10d836a79132e401ebc1b8029a25934a3c /drivers/md/md.h | |
parent | bb9ef71646606e51adfebdc94231fbbc862dbe28 (diff) |
md: Remove 'ready' field from mddev.
This field is always set in tandem with ->pers, and when it is tested
->pers is also tested. So ->ready is not needed.
It was needed once, but code rearrangement and locking changes have
removed that needed.
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index e16a17c37418..fc6f7bbc9544 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -246,8 +246,6 @@ struct mddev { * are happening, so run/ * takeover/stop are not safe */ - int ready; /* See when safe to pass - * IO requests down */ struct gendisk *gendisk; struct kobject kobj; |