block: kill GENHD_FL_FAIL and use part0->make_it_fail
authorTejun Heo <tj@kernel.org>
Mon, 25 Aug 2008 10:56:13 +0000 (19:56 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:08 +0000 (08:56 +0200)
commiteddb2e26b5ee3c5da68ba4bf1921ba20e2097bff
tree7a24f3f3cb577f344491dc57ea441060fac9d9a9
parent0762b8bde9729f10f8e6249809660ff2ec3ad735
block: kill GENHD_FL_FAIL and use part0->make_it_fail

GENHD_FL_FAIL for disk is what make_it_fail is for parts.  Kill it and
use part0->make_it_fail.  Sysfs node handling is unified too.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c
block/genhd.c
fs/partitions/check.c
include/linux/genhd.h