block: partition: introduce hd_free_part()
authorMing Lei <tom.leiming@gmail.com>
Thu, 16 Jul 2015 03:16:44 +0000 (11:16 +0800)
committerJens Axboe <axboe@fb.com>
Fri, 17 Jul 2015 14:41:53 +0000 (08:41 -0600)
commitb54e5ed8f285d62c0d242c4ef9da90937994db02
treeee9303a8a5df76206884f3ed4c61a1e9fd83721a
parent21bdb584af8cca7c6df3c44cba268be050a234eb
block: partition: introduce hd_free_part()

So the helper can be used in both generic partition
case and part0 case.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/genhd.c
block/partition-generic.c
include/linux/genhd.h