You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
4 months ago
|
commit abf2030556dfe694dc19ed2d73f84f7e5046b660
|
||
|
Author: Ian Kent <raven@themaw.net>
|
||
|
Date: Thu Jul 11 13:56:15 2024 +0800
|
||
|
|
||
|
autofs-5.1.9 - fix amd cache options not copied
|
||
|
|
||
|
The cache options set when parsing the amd map entry are not copied to
|
||
|
the list entry that gets processed by the caller.
|
||
|
|
||
|
Signed-off-by: Ian Kent <raven@themaw.net>
|
||
|
|
||
|
---
|
||
|
CHANGELOG | 1 +
|
||
|
modules/amd_parse.y | 1 +
|
||
|
2 files changed, 2 insertions(+)
|
||
|
|
||
|
--- autofs-5.1.9.orig/CHANGELOG
|
||
|
+++ autofs-5.1.9/CHANGELOG
|
||
|
@@ -12,6 +12,7 @@
|
||
|
- refactor amd function do_program_mount().
|
||
|
- refactor umount_amd_ext_mount().
|
||
|
- add flags argument to amd do_program_mount().
|
||
|
+- fix amd cache options not copied.
|
||
|
|
||
|
02/11/2023 autofs-5.1.9
|
||
|
- fix kernel mount status notification.
|
||
|
--- autofs-5.1.9.orig/modules/amd_parse.y
|
||
|
+++ autofs-5.1.9/modules/amd_parse.y
|
||
|
@@ -888,6 +888,7 @@ static int add_location(void)
|
||
|
new->path = entry.path;
|
||
|
}
|
||
|
new->flags = entry.flags;
|
||
|
+ new->cache_opts = entry.cache_opts;
|
||
|
new->type = entry.type;
|
||
|
new->map_type = entry.map_type;
|
||
|
new->pref = entry.pref;
|