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-03-17 17:02:14 -0600
commit61dfea002cc59127cac1f8263566425918960faa (patch)
tree89fe48b2be6e95454276413ba67ada4503a1984c /drivers
parentf577357e57caca62a739c896b638d1ecefeddbe3 (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 c3f0ee16594..918a2e43f03 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -58,7 +58,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: