[SCSI] sd: tell the user when a disk's capacity is adjusted
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 18 Feb 2009 15:54:44 +0000 (10:54 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 12 Mar 2009 17:58:15 +0000 (12:58 -0500)
commit5c211caa9f341f9eefbda89436d1440d1eccb3bc
tree4f7204ebacf152ea7057dce984c1db550dbce763
parentb3f1f9aa082b2ab86dec4db3d8b1566af345387e
[SCSI] sd: tell the user when a disk's capacity is adjusted

This patch (as1188) combines the tests for decrementing a drive's
reported capacity and expands the comment.  It also adds an
informational message to the system log, informing the user when the
reported value has been changed.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/sd.c