[SCSI] sd: fix return value of sd_sync_cache()
authorTejun Heo <htejun@gmail.com>
Tue, 20 Mar 2007 15:07:18 +0000 (00:07 +0900)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 20 Mar 2007 16:33:32 +0000 (11:33 -0500)
commit3721050afc6cb6ddf6de0f782e2054ebcc225e9b
tree107f2b72a66674dc8769689335a248954bc8b8f5
parentad8c31bb69d60c0c6bc6431bccdf67e5a96c0d31
[SCSI] sd: fix return value of sd_sync_cache()

sd_sync_cache() should return -errno on error, fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sd.c