diff --git a/CHANGELOG b/CHANGELOG index 8ca790a..b77c2cd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,6 +4,7 @@ - remove redundant rpath link option. - ignore "winbind" if it appears in "automount" nsswitch.conf. - fix another expire regression introduced in the "mitigate manual umount" patch. +- correct check for busy offset mounts before offset umount. 4/1/2007 autofs-5.0.1 rc3 ------------------------- diff --git a/lib/parse_subs.c b/lib/parse_subs.c index c98989c..d4ddbe4 100644 --- a/lib/parse_subs.c +++ b/lib/parse_subs.c @@ -454,7 +454,7 @@ int umount_multi_triggers(struct autofs_point *ap, char *root, struct mapent *me * nonstrict mount fail. */ oe_base = oe->key + strlen(root); - left = umount_multi_triggers(ap, root, oe, oe_base); + left += umount_multi_triggers(ap, root, oe, oe_base); if (oe->ioctlfd != -1) left++;