summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-depricate-nosymlink-pseudo-option.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.7-depricate-nosymlink-pseudo-option.patch
downloadmeta-openembedded-daisy-140929.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.7-depricate-nosymlink-pseudo-option.patch')
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-depricate-nosymlink-pseudo-option.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-depricate-nosymlink-pseudo-option.patch b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-depricate-nosymlink-pseudo-option.patch
new file mode 100644
index 0000000000..c784de7c92
--- /dev/null
+++ b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-depricate-nosymlink-pseudo-option.patch
@@ -0,0 +1,40 @@
1autofs-5.0.7 - depricate nosymlink pseudo option
2
3From: Ian Kent <raven@themaw.net>
4
5The undocumented "nosymlink" option was the only way to force local
6NFS mounting until the more descriptive "nobind" option was added.
7
8So depricate the "nosymlink" option in favour of the "nobind" option.
9---
10 CHANGELOG | 1 +
11 modules/mount_nfs.c | 4 ++++
12 2 files changed, 5 insertions(+)
13
14diff --git a/CHANGELOG b/CHANGELOG
15index a7ed212..c189483 100644
16--- a/CHANGELOG
17+++ b/CHANGELOG
18@@ -31,6 +31,7 @@
19 - dont fail on master map self include.
20 - fix wildcard multi map regression.
21 - fix file descriptor leak when reloading the daemon.
22+- depricate nosymlink pseudo option.
23
24 25/07/2012 autofs-5.0.7
25 =======================
26diff --git a/modules/mount_nfs.c b/modules/mount_nfs.c
27index bbbb1de..e61320b 100644
28--- a/modules/mount_nfs.c
29+++ b/modules/mount_nfs.c
30@@ -125,6 +125,10 @@ int mount_mount(struct autofs_point *ap, const char *root, const char *name, int
31
32 o_len = end - cp + 1;
33 if (strncmp("nosymlink", cp, o_len) == 0) {
34+ warn(ap->logopt, MODPREFIX
35+ "the \"nosymlink\" option is depricated "
36+ "and will soon be removed, "
37+ "use the \"nobind\" option instead");
38 nosymlink = 1;
39 } else if (strncmp("nobind", cp, o_len) == 0) {
40 nobind = 1;