X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=block%2Fioctl.c;h=e3f5eb9882cf4dfb403f6ca64f7262180b9db0fa;hb=ab521dc0f8e117fd808d3e425216864d60390500;hp=f6962b64660ea67c6092c6303d7d52cd69bffbeb;hpb=a57bf8a4f23cca2b5be5446649bbe22d1440af5d;p=powerpc.git diff --git a/block/ioctl.c b/block/ioctl.c index f6962b6466..e3f5eb9882 100644 --- a/block/ioctl.c +++ b/block/ioctl.c @@ -61,7 +61,7 @@ static int blkpg_ioctl(struct block_device *bdev, struct blkpg_ioctl_arg __user } } /* all seems OK */ - add_partition(disk, part, start, length); + add_partition(disk, part, start, length, ADDPART_FLAG_NONE); mutex_unlock(&bdev->bd_mutex); return 0; case BLKPG_DEL_PARTITION: