aboutsummaryrefslogtreecommitdiff
path: root/arch/ppc64/boot/addnote.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2005-11-08 21:39:37 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 07:56:39 -0800
commitf637b9f9fc195e4f4635faf495fd8b462c21b411 (patch)
treebcd71dc2e3c0a2fd97c5973d6a29010c3eab1990 /arch/ppc64/boot/addnote.c
parentf91de92ed6bfb70a3ff607558c910c7bf34d45e9 (diff)
[PATCH] md: make sure /block link in /sys/.../md/ goes to correct devices
If a block_device is a partition, then it's kobject is bdev->bd_part->kobj otherwise (if it is a full device), the kobject is bdev->bd_disk->kobj As md wants back-links to the correct object (whether partition or not), we need to respect this difference... (Thus current code shows a link to the whole device, whether we are using a partition or not, which is wrong). Signed-off-by: Neil Brown <neilb@suse.de> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc64/boot/addnote.c')
0 files changed, 0 insertions, 0 deletions