summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.6-increase-file-map-read-buffer-size.patch
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.6-increase-file-map-read-buffer-size.patch
downloadmeta-openembedded-1b8dfe266937a37a4c642f96ceb2347bf4c00a17.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.6-increase-file-map-read-buffer-size.patch')
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.6-increase-file-map-read-buffer-size.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.6-increase-file-map-read-buffer-size.patch b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.6-increase-file-map-read-buffer-size.patch
new file mode 100644
index 0000000000..39b22212a7
--- /dev/null
+++ b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.6-increase-file-map-read-buffer-size.patch
@@ -0,0 +1,38 @@
1autofs-5.0.6 - increase file map read buffer size
2
3From: Ian Kent <raven@themaw.net>
4
5The file map entry read buffer can be too small for larger
6multi-mount map entries so increase it.
7---
8
9 CHANGELOG | 1 +
10 include/automount.h | 2 +-
11 2 files changed, 2 insertions(+), 1 deletions(-)
12
13
14diff --git a/CHANGELOG b/CHANGELOG
15index 9cdad6e..3bdf8a4 100644
16--- a/CHANGELOG
17+++ b/CHANGELOG
18@@ -13,6 +13,7 @@
19 - README: update mailing list subscription info.
20 - allow non root user to check status.
21 - fix recursive mount deadlock.
22+- increase file map read buffer size.
23
24 25/07/2012 autofs-5.0.7
25 =======================
26diff --git a/include/automount.h b/include/automount.h
27index 561fcc2..37541f5 100644
28--- a/include/automount.h
29+++ b/include/automount.h
30@@ -233,7 +233,7 @@ int rmdir_path(struct autofs_point *ap, const char *path, dev_t dev);
31 #define AUTOFS_LOOKUP_VERSION 5
32
33 #define KEY_MAX_LEN NAME_MAX
34-#define MAPENT_MAX_LEN 4095
35+#define MAPENT_MAX_LEN 16384
36 #define PARSE_MAX_BUF KEY_MAX_LEN + MAPENT_MAX_LEN + 2
37
38 int lookup_nss_read_master(struct master *master, time_t age);