From: Michael Holzheu Date: Wed, 22 Aug 2007 11:51:41 +0000 (+0200) Subject: [S390] vmur: fix reference counting for vmur device structure X-Git-Tag: v2.6.23-rc4~93^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8127a1f80a002d02a30909ddf6187faedf89e00a;p=pandora-kernel.git [S390] vmur: fix reference counting for vmur device structure When a vmur device is removed due to a detach of the device, currently the ur device structure is freed. Unfortunately it can happen, that there is still a user of the device structure, when the character device is open during the detach process. To fix this, reference counting for the vmur structure is introduced. In addition to that, the online, offline, probe and remove functions are serialized now using a global mutex. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky Signed-off-by: Heiko Carstens --- Reading git-diff-tree failed