]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] dm/md dependency tree in sysfs: dm to use bd_claim_by_disk
authorJun'ichi Nomura <j-nomura@ce.jp.nec.com>
Mon, 27 Mar 2006 09:17:59 +0000 (01:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:45:00 +0000 (08:45 -0800)
commitf165921df46a977e3561f1bd9f13a348441486d1
treea44679427f97090aeb4d5ba62568a41f4b367763
parent5463c7904c952aa6b6804dd902c72a5332fa5221
[PATCH] dm/md dependency tree in sysfs: dm to use bd_claim_by_disk

Use bd_claim_by_disk.

Following symlinks are created if dm-0 maps to sda:
  /sys/block/dm-0/slaves/sda --> /sys/block/sda
  /sys/block/sda/holders/dm-0 --> /sys/block/dm-0

Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Cc: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/dm-table.c