Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=31765d7d3da9bb575f80faecae0b931afa3532c6
Commit:     31765d7d3da9bb575f80faecae0b931afa3532c6
Parent:     7c07d613d22680f1caf2bd9ee49838ec7730b9da
Author:     Matthew Wilcox <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 17 11:02:10 2007 -0600
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 14:51:03 2007 -0400

    [SCSI] Improve error message when offlining a device
    
    The current code prints:
    
    scsi 13:0:4:0: scsi: Device offlined - not ready after error recovery
    
    which is repetitively redundant.  This patch changes that message to:
    
    scsi 6:0:6:0: Device offlined - not ready after error recovery
    
    Signed-off-by: Matthew Wilcox <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/scsi_error.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
index c8e351f..c05d020 100644
--- a/drivers/scsi/scsi_error.c
+++ b/drivers/scsi/scsi_error.c
@@ -1137,9 +1137,8 @@ static void scsi_eh_offline_sdevs(struct list_head 
*work_q,
        struct scsi_cmnd *scmd, *next;
 
        list_for_each_entry_safe(scmd, next, work_q, eh_entry) {
-               sdev_printk(KERN_INFO, scmd->device,
-                           "scsi: Device offlined - not"
-                           " ready after error recovery\n");
+               sdev_printk(KERN_INFO, scmd->device, "Device offlined - "
+                           "not ready after error recovery\n");
                scsi_device_set_state(scmd->device, SDEV_OFFLINE);
                if (scmd->eh_eflags & SCSI_EH_CANCEL_CMD) {
                        /*
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to