Jonathan Brassow 629acb6aba MD: no integrity register if no gendisk
Don't attempt md_integrity_register if there is no gendisk struct available.

When MD arrays are built via device-mapper, the gendisk structure is not
available via mddev.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
2011-06-08 15:10:08 +10:00
..
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-05-29 13:03:09 +01:00
2010-08-12 04:14:11 +01:00
2011-05-29 13:03:09 +01:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:35 +00:00
2007-10-20 02:01:26 +01:00
2010-08-12 04:14:12 +01:00
2011-03-31 11:26:23 -03:00
2011-03-24 13:54:24 +00:00
2011-03-24 13:54:24 +00:00
2011-06-08 15:10:08 +10:00
2011-04-18 18:25:42 +10:00
2011-03-31 11:26:23 -03:00