projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: unify ack_apic_edge
[deliverable/linux.git]
/
block
/
ioctl.c
diff --git
a/block/ioctl.c
b/block/ioctl.c
index 64e7c67a64b01fa9c733bc84d3de6579bd90955c..38bee321e1fa07c7dd41940c6fae8094a822068c 100644
(file)
--- a/
block/ioctl.c
+++ b/
block/ioctl.c
@@
-30,7
+30,7
@@
static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user
if (bdev != bdev->bd_contains)
return -EINVAL;
partno = p.pno;
- if (partno <= 0
|| partno >= disk_max_parts(disk)
)
+ if (partno <= 0)
return -EINVAL;
switch (a.op) {
case BLKPG_ADD_PARTITION:
This page took
0.023481 seconds
and
5
git commands to generate.