From: Tejun Heo Date: Sat, 13 Nov 2010 10:55:17 +0000 (+0100) Subject: block: simplify holder symlink handling X-Git-Tag: v2.6.38-rc1~231^2~20^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e09b457bdb7e8d23fc54dcef0930ac697d8de895;p=pandora-kernel.git block: simplify holder symlink handling Code to manage symlinks in /sys/block/*/{holders|slaves} are overly complex with multiple holder considerations, redundant extra references to all involved kobjects, unused generic kobject holder support and unnecessary mixup with bd_claim/release functionalities. Strip it down to what's necessary (single gendisk holder) and make it use a separate interface. This is a step for cleaning up bd_claim/release. This patch makes dm-table slightly more complex but it will be simplified again with further changes. Signed-off-by: Tejun Heo Acked-by: Neil Brown Acked-by: Mike Snitzer Cc: dm-devel@redhat.com --- Reading git-diff-tree failed