Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322981
b: refs/heads/master
c: 2bd6efa
h: refs/heads/master
i:
  322979: 7e3beeb
v: v3
  • Loading branch information
Alan Cox authored and Jens Axboe committed Sep 18, 2012
1 parent ac72a39 commit 25b9383
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: 97651ea687d3b6a214c32b49f79523db709fba18
refs/heads/master: 2bd6efad25d7c1950008e2ab4e2d6796001919fc
2 changes: 1 addition & 1 deletion trunk/block/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user
sizeof(long long) > sizeof(long)) {
long pstart = start, plength = length;
if (pstart != start || plength != length
|| pstart < 0 || plength < 0)
|| pstart < 0 || plength < 0 || partno > 65535)
return -EINVAL;
}

Expand Down

0 comments on commit 25b9383

Please sign in to comment.