projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PM / OPP: Return suspend_opp only if it is enabled
[deliverable/linux.git]
/
drivers
/
target
/
target_core_rd.c
diff --git
a/drivers/target/target_core_rd.c
b/drivers/target/target_core_rd.c
index 4703f403f31c0dd6cc9b4d31422bbc16387b20e7..384cf88944113892135b3ff253ed97bdc6b9c8b4 100644
(file)
--- a/
drivers/target/target_core_rd.c
+++ b/
drivers/target/target_core_rd.c
@@
-333,6
+333,7
@@
static int rd_configure_device(struct se_device *dev)
dev->dev_attrib.hw_block_size = RD_BLOCKSIZE;
dev->dev_attrib.hw_max_sectors = UINT_MAX;
dev->dev_attrib.hw_queue_depth = RD_MAX_DEVICE_QUEUE_DEPTH;
+ dev->dev_attrib.is_nonrot = 1;
rd_dev->rd_dev_id = rd_host->rd_host_dev_id_count++;
This page took
0.025664 seconds
and
5
git commands to generate.