Commit 84cc6968 authored by Scott James Remnant's avatar Scott James Remnant Committed by Tim Gardner

UBUNTU: SAUCE: (no-up) nbd: Change default partitions per device to 15

This was previously changed by using an "options" line in a modprobe.d
file, however that practice is now deprecated.  This is because module
names, option names, their values and even their current defaults can
all change inside the kernel and module-init-tools has never been kept
in sync.

In addition, changing the kernel means that the option change will apply
if the module is built in by users or the OEM team.

Bug: #342563
Signed-off-by: default avatarScott James Remnant <scott@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent baae37bc
......@@ -79,7 +79,7 @@ static struct dentry *nbd_dbg_dir;
static unsigned int nbds_max = 16;
static struct nbd_device *nbd_dev;
static int max_part;
static int max_part = 15;
/*
* Use just one lock (or at most 1 per NIC). Two arguments for this:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment