diff options
author | Ian Kent <raven@themaw.net> | 2017-10-22 17:00:52 +0800 |
---|---|---|
committer | Ian Kent <raven@themaw.net> | 2017-12-18 08:47:07 +0800 |
commit | eb5809d1d14058d290fe3f66ac59d5461327b211 (patch) | |
tree | 24ee6ab659f5f2ac3d10464be0b77865c31839a2 /modules | |
parent | b583547c98d8ae7773e83569d6c819f044699bfd (diff) | |
download | autofs-eb5809d1d14058d290fe3f66ac59d5461327b211.tar.gz |
autofs-5.1.3 - add function umount_amd_ext_mount()
Refactor amd external umount code, move the code into its own
function.
Later amd umounting of program mounts with a custom command will
be added.
Signed-off-by: Ian Kent <raven@themaw.net>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/parse_amd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/parse_amd.c b/modules/parse_amd.c index 8030b271..eeb74d41 100644 --- a/modules/parse_amd.c +++ b/modules/parse_amd.c @@ -980,8 +980,7 @@ symlink: if (entry->sublink) { /* failed to complete sublink mount */ - if (ext_mount_remove(&entry->ext_mount, entry->fs)) - umount_ent(ap, entry->fs); + umount_amd_ext_mount(ap, entry); } out: return ret; |