diff options
author | NeilBrown <neilb@suse.com> | 2016-01-04 06:16:58 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2016-01-07 01:01:14 +0100 |
commit | 274d8cbde1bc3bdfb31c5d6a58113dff5cee4f87 (patch) | |
tree | fb09fc10d836a79132e401ebc1b8029a25934a3c /drivers/md/md.h | |
parent | md: remove unnecesary md_new_event_inintr (diff) | |
download | linux-274d8cbde1bc3bdfb31c5d6a58113dff5cee4f87.tar.xz linux-274d8cbde1bc3bdfb31c5d6a58113dff5cee4f87.zip |
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; |