Searched refs:my_mddev (Results 1 – 1 of 1) sorted by relevance
3250 struct mddev *my_mddev = rdev->mddev; in rdev_size_store() local3260 if (my_mddev->pers && rdev->raid_disk >= 0) { in rdev_size_store()3261 if (my_mddev->persistent) { in rdev_size_store()3262 sectors = super_types[my_mddev->major_version]. in rdev_size_store()3269 if (!my_mddev->pers->resize) in rdev_size_store()3273 if (sectors < my_mddev->dev_sectors) in rdev_size_store()3277 if (sectors > oldsectors && my_mddev->external) { in rdev_size_store()