]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
block: move holder_dir from disk to part0
authorTejun Heo <tj@kernel.org>
Mon, 25 Aug 2008 10:56:11 +0000 (19:56 +0900)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:08 +0000 (08:56 +0200)
commit4c46501d1659475dc6c89554af6ce7fe6ecf615c
tree03bfdf77e2d20c3190ba62532c783ab7f6a2640d
parentb7db9956e57c8151b930d5e5fe5c766e6aad3ff7
block: move holder_dir from disk to part0

Move disk->holder_dir to part0->holder_dir.  Kill now mostly
superflous bdev_get_holder().

While at it, kill superflous kobject_get/put() around holder_dir,
slave_dir and cmd_filter creation and collapse
disk_sysfs_add_subdirs() into register_disk().  These serve no purpose
but obfuscating the code.

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