Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258615
b: refs/heads/master
c: 4c64500
h: refs/heads/master
i:
  258613: 5d85f16
  258611: f47cee5
  258607: e06b1ac
v: v3
  • Loading branch information
Jens Axboe committed Jul 23, 2011
1 parent 4317471 commit 8b4b258
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: d7b7630130e52361af66ce3b994696e2357ba7de
refs/heads/master: 4c64500eada358165d0bb9a20d6c7d30821995b4
2 changes: 1 addition & 1 deletion trunk/block/blk-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ int blkdev_issue_discard(struct block_device *bdev, sector_t sector,
* granularity
*/
max_discard_sectors = min(q->limits.max_discard_sectors, UINT_MAX >> 9);
if (!unlikely(!max_discard_sectors)) {
if (unlikely(!max_discard_sectors)) {
/* Avoid infinite loop below. Being cautious never hurts. */
return -EOPNOTSUPP;
} else if (q->limits.discard_granularity) {
Expand Down

0 comments on commit 8b4b258

Please sign in to comment.