Searched refs:my_mddev (Results 1 – 1 of 1) sorted by relevance
3376 struct mddev *my_mddev = rdev->mddev; in rdev_size_store() local3386 if (my_mddev->pers && rdev->raid_disk >= 0) { in rdev_size_store()3387 if (my_mddev->persistent) { in rdev_size_store()3388 sectors = super_types[my_mddev->major_version]. in rdev_size_store()3395 if (!my_mddev->pers->resize) in rdev_size_store()3399 if (sectors < my_mddev->dev_sectors) in rdev_size_store()3409 if (sectors > oldsectors && my_mddev->external && in rdev_size_store()