Failure to tell mountd about the unmount should not be classes
and an error and DEFINTELY should not stop the filesystem
from being unmounted.
ret = 0;
if (mc) {
if (!lazy)
ret = 0;
if (mc) {
if (!lazy)
- ret = _nfsumount(mc->m.mnt_fsname, mc->m.mnt_opts);
- if(ret)
- ret = del_mtab(mc->m.mnt_fsname, mc->m.mnt_dir);
+ _nfsumount(mc->m.mnt_fsname, mc->m.mnt_opts);
+ ret = del_mtab(mc->m.mnt_fsname, mc->m.mnt_dir);
} else if (*spec != '/') {
if (!lazy)
} else if (*spec != '/') {
if (!lazy)
- ret = _nfsumount(spec, "tcp,v3");
+ _nfsumount(spec, "tcp,v3");
} else
ret = del_mtab(NULL, spec);
} else
ret = del_mtab(NULL, spec);