[SCSI] sd: Make sure provisioning mode is reported correctly
authorMartin K. Petersen <martin.petersen@oracle.com>
Mon, 13 Feb 2012 20:39:00 +0000 (15:39 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 15:39:09 +0000 (09:39 -0600)
commit89730393f260aef7fce9f6fd475da148517a4c5c
treef01e8f64dfd43dc38c27f4f1d8be45ed2f43346d
parent66a651aa7a48b7c6181aff556937454c87bb9feb
[SCSI] sd: Make sure provisioning mode is reported correctly

The provisioning_mode parameter in sysfs did not get updated in the
SD_LBP_DISABLE case. Make sure the provisioning mode is always set
correctly.

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