block: move policy from disk to part0
authorTejun Heo <tj@kernel.org>
Mon, 25 Aug 2008 10:56:10 +0000 (19:56 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:07 +0000 (08:56 +0200)
commitb7db9956e57c8151b930d5e5fe5c766e6aad3ff7
treed663a8687fff481abb1498c2ea0eac01ef81cb26
parente56105214943ce5f0901d20e972a7cfd0d1d0656
block: move policy from disk to part0

Move disk->policy to part0->policy.  Implement and use get_disk_ro().

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/genhd.c
drivers/ide/ide-cd.c
drivers/md/dm-ioctl.c
fs/partitions/check.c
include/linux/genhd.h