From: Stephen M. Cameron Date: Thu, 17 Sep 2009 18:47:34 +0000 (-0500) Subject: cciss: Handle special case for sysfs attributes of the first logical drive. X-Git-Tag: v2.6.32-rc3~6^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ce51966d3b809d6c1ae4f3902058558589480b8;p=pandora-kernel.git cciss: Handle special case for sysfs attributes of the first logical drive. For c0dx where x is not 0, we handle deletion and addition simply, but for c0d0, there is the special case that even when there's no disk, the device node exists so that the controller may be accessed. So, for c0d0, we only create the sysfs entries once, when a controller is added, and only remove them once, when a controller is being taken down. Signed-off-by: Stephen M. Cameron Signed-off-by: Jens Axboe --- Reading git-diff-tree failed