Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77637
b: refs/heads/master
c: 482eb68
h: refs/heads/master
i:
  77635: 996ac0a
v: v3
  • Loading branch information
Pete Wyckoff authored and Jens Axboe committed Jan 28, 2008
1 parent 117b686 commit b75c918
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 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: 6da127ad0918f93ea93678dad62ce15ffed18797
refs/heads/master: 482eb689169948e9f4966fbae6be4d6bc0bfa818
7 changes: 1 addition & 6 deletions trunk/include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -836,12 +836,7 @@ static inline int bdev_hardsect_size(struct block_device *bdev)

static inline int queue_dma_alignment(struct request_queue *q)
{
int retval = 511;

if (q && q->dma_alignment)
retval = q->dma_alignment;

return retval;
return q ? q->dma_alignment : 511;
}

/* assumes size > 256 */
Expand Down

0 comments on commit b75c918

Please sign in to comment.