projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: hpwdt (12/12): Make NMI decoding a compile-time option
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
scsi
/
sd.h
diff --git
a/drivers/scsi/sd.h
b/drivers/scsi/sd.h
index 43d3caf268efb50a00783b647caa1b25b1e7fe56..f81a9309e6de460096139856adaf924f36e1fd64 100644
(file)
--- a/
drivers/scsi/sd.h
+++ b/
drivers/scsi/sd.h
@@
-47,7
+47,7
@@
struct scsi_disk {
struct scsi_device *device;
struct device dev;
struct gendisk *disk;
- unsigned int openers; /* protected by BKL for now, yuck */
+ atomic_t openers;
sector_t capacity; /* size in 512-byte sectors */
u32 index;
unsigned short hw_sector_size;