aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorScott James Remnant <scott@canonical.com>2009-03-16 15:03:07 +0000
committerJohn Rigby <john.rigby@linaro.org>2012-06-21 21:07:17 -0600
commit01ac839de642be4016f8d7ac18ac5eed8841a54f (patch)
treedd10432993311ae0ce8873e0d5fd922ea85d261f /drivers
parent3d75a3805a64764742b0818ddc347b9aad7d1dc9 (diff)
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: Scott James Remnant <scott@canonical.com> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/block/nbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index 061427a75d3..bb8b53da1db 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -57,7 +57,7 @@ static unsigned int debugflags;
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: