diff options
author | Jun'ichi Nomura <j-nomura@ce.jp.nec.com> | 2006-03-27 11:17:58 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 18:45:00 +0200 |
commit | 5463c7904c952aa6b6804dd902c72a5332fa5221 (patch) | |
tree | b2894d58ad0d99959bf246722e33a64960125f57 /fs/block_dev.c | |
parent | [PATCH] dm/md dependency tree in sysfs: bd_claim_by_kobject (diff) | |
download | linux-5463c7904c952aa6b6804dd902c72a5332fa5221.tar.xz linux-5463c7904c952aa6b6804dd902c72a5332fa5221.zip |
[PATCH] dm/md dependency tree in sysfs: md to use bd_claim_by_disk
Use bd_claim_by_disk.
Following symlinks are created if md0 is built from sda and sdb
/sys/block/md0/slaves/sda --> /sys/block/sda
/sys/block/md0/slaves/sdb --> /sys/block/sdb
/sys/block/sda/holders/md0 --> /sys/block/md0
/sys/block/sdb/holders/md0 --> /sys/block/md0
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>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions