From: Stefan Weinhuber Date: Wed, 5 Mar 2008 11:37:11 +0000 (+0100) Subject: [S390] dasd: fix reference counting in display method for proc/dasd/devices X-Git-Tag: v2.6.25-rc5~28^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5e2383991ee985332854b721ba3e5abbbabf0f2;p=pandora-kernel.git [S390] dasd: fix reference counting in display method for proc/dasd/devices Using the /proc/dasd/devices interface leaves the reference counter of alias devices in an inconsistent state. A process that tries to set such a device offline afterwards will hang. The dasd_devices_show function returns immediately for alias devices and this code path was missing a dasd_put_device call. Signed-off-by: Stefan Weinhuber Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed