[PATCH] dm/md dependency tree in sysfs: bd_claim_by_kobject
authorJun'ichi Nomura <j-nomura@ce.jp.nec.com>
Mon, 27 Mar 2006 09:17:57 +0000 (01:17 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 27 Mar 2006 16:45:00 +0000 (08:45 -0800)
commit641dc636b0475582e48584340b774bd1e90d40d9
tree75c839cebd81a8ec4fae6c0cc35a387da160cfbe
parent100873687d81d4ce7b1299b447d33e87ba1e9583
[PATCH] dm/md dependency tree in sysfs: bd_claim_by_kobject

Adding bd_claim_by_kobject() function which takes kobject as additional
signature of holder device and creates sysfs symlinks between holder device
and claimed device.  bd_release_from_kobject() is a counterpart of
bd_claim_by_kobject.

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>
fs/block_dev.c
include/linux/fs.h