Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274962
b: refs/heads/master
c: 16f7eca
h: refs/heads/master
v: v3
  • Loading branch information
Dan McGee authored and Artem Bityutskiy committed Oct 14, 2011
1 parent ba3c2ae commit 00a8c89
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 1bba688b5a32079db616f281c13f00944d74020b
refs/heads/master: 16f7eca5871ad09b8f6c44ba8cb4d8185833a1ee
2 changes: 2 additions & 0 deletions trunk/drivers/mtd/mtd_blkdevs.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,8 @@ int add_mtd_blktrans_dev(struct mtd_blktrans_dev *new)
new->rq->queuedata = new;
blk_queue_logical_block_size(new->rq, tr->blksize);

queue_flag_set_unlocked(QUEUE_FLAG_NONROT, new->rq);

if (tr->discard) {
queue_flag_set_unlocked(QUEUE_FLAG_DISCARD, new->rq);
new->rq->limits.max_discard_sectors = UINT_MAX;
Expand Down

0 comments on commit 00a8c89

Please sign in to comment.