Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15646
b: refs/heads/master
c: 38d76df
h: refs/heads/master
v: v3
  • Loading branch information
Alan Stern authored and James Bottomley committed Dec 14, 2005
1 parent db206a2 commit 785165d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e06cbd42c41f9e49fcfe5ee45c749eefaae9cf4
refs/heads/master: 38d76df2f5483478dee803cb6e39da5e506a6643
4 changes: 1 addition & 3 deletions trunk/drivers/scsi/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1509,9 +1509,7 @@ static int sd_revalidate_disk(struct gendisk *disk)
*/
if (sdkp->media_present) {
sd_read_capacity(sdkp, disk->disk_name, buffer);
if (sdp->removable)
sd_read_write_protect_flag(sdkp, disk->disk_name,
buffer);
sd_read_write_protect_flag(sdkp, disk->disk_name, buffer);
sd_read_cache_type(sdkp, disk->disk_name, buffer);
}

Expand Down

0 comments on commit 785165d

Please sign in to comment.