From: Stephen M. Cameron Date: Thu, 17 Sep 2009 18:47:44 +0000 (-0500) Subject: cciss: Fix usage_count check in rebuild_lun_table when triggered via sysfs. X-Git-Tag: v2.6.32-rc3~6^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d11d9931f5968bddac50d9d224c4812d4be869a;p=pandora-kernel.git cciss: Fix usage_count check in rebuild_lun_table when triggered via sysfs. When rebuild_lun_table is reached via sysfs, the usage count that is checked prior to messing with c0d0 has different constraints (must be zero) than if rebuild_lun_table is reached via ioctl (must be one.) Fix rebuild_lun_table to take that into account. Signed-off-by: Stephen M. Cameron Signed-off-by: Jens Axboe --- Reading git-diff-tree failed