From: Mike Miller Date: Mon, 4 Aug 2008 09:54:53 +0000 (+0200) Subject: cciss: fix negative logical drive count in procfs X-Git-Tag: v2.6.27-rc3~74^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eece695f8bf9d1aacf3a119ab8e21db31948e40b;p=pandora-kernel.git cciss: fix negative logical drive count in procfs This patch fixes a problem where the logical volume count may go negative. In some instances if several logical are configured on a controller and all of them are deleted using the online utilities the volume count in /proc may go negative with no way get it correct again. Signed-off-by: Stephen M. Cameron Signed-off-by: Mike Miller Signed-off-by: Jens Axboe --- Reading git-diff-tree failed