]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] sd: Make revalidate less chatty
authorMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Mar 2009 15:33:31 +0000 (11:33 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 18 Mar 2009 01:43:52 +0000 (21:43 -0400)
commit70a9b8734660698eb91efb8947a9e691d40235e1
treecd0e464836c37b675ed57e9a0ff89522e031748b
parent2b301307f63dbecf06d91f58f003c7fb7addee24
[SCSI] sd: Make revalidate less chatty

sd_revalidate ends up being called several times during device setup.
With this patch we print everything during the first scan.  Subsequent
invocations will only print a message if the parameter in question has
actually changed (LUN capacity has increased, etc.).

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/sd.c
drivers/scsi/sd.h