From: Michael Holzheu Date: Fri, 11 Sep 2009 08:29:02 +0000 (+0200) Subject: [S390] tape: Fix device online messages X-Git-Tag: v2.6.32-rc1~734^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53f8c573ea3b54b7e1b81d2cd403373b08103736;p=pandora-kernel.git [S390] tape: Fix device online messages Currently, when a tape device is set online and no cartridge is loaded, we get the messages "The tape cartridge has been successfully unloaded" and "Determining the size of the recorded area". These messages are not correct. To fix this, we now print the "cartridge loaded/unloaded" messages only, when the load/unload event really occurs. In addition to that, the message "Determining the size of the recorded area" is only printed, if a cartridge is loaded. Signed-off-by: Michael Holzheu Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed