Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367355
b: refs/heads/master
c: 0463a3f
h: refs/heads/master
i:
  367353: e6418ed
  367351: 1f83bdd
v: v3
  • Loading branch information
Asias He authored and Nicholas Bellinger committed Apr 25, 2013
1 parent 715ce75 commit d2d76c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86d7182985d25900929adce14fffd729cc8c6fb8
refs/heads/master: 0463a3fefda4cf0591edc685d4fb215a33315e01
3 changes: 3 additions & 0 deletions trunk/drivers/target/target_core_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ static int fd_configure_device(struct se_device *dev)
* the smaller WRITE_SAME(10) only has a two-byte block count.
*/
dev->dev_attrib.max_write_same_len = 0xFFFF;

if (blk_queue_nonrot(q))
dev->dev_attrib.is_nonrot = 1;
} else {
if (!(fd_dev->fbd_flags & FBDF_HAS_SIZE)) {
pr_err("FILEIO: Missing fd_dev_size="
Expand Down

0 comments on commit d2d76c3

Please sign in to comment.