···663663 __delete_partition(part);664664}665665666666+static inline void hd_free_part(struct hd_struct *part)667667+{668668+ free_part_stats(part);669669+ free_part_info(part);670670+}671671+666672/*667673 * Any access of part->nr_sects which is not protected by partition668674 * bd_mutex or gendisk bdev bd_mutex, should be done using this