Initialize *countp to 0 in stub for softdep_flushworklist().

This allows ffs_fsync() to break out of a loop that might otherwise
be infinite on kernels compiled without the SOFTUPDATES option.
The observed symptom was a system hang at the first unmount attempt.
This commit is contained in:
Tor Egge 2000-08-09 00:41:54 +00:00
parent 34f71eeb3c
commit b5ee7ec63a

View file

@ -249,6 +249,7 @@ softdep_flushworklist(oldmnt, countp, p)
struct proc *p;
{
*countp = 0;
return (0);
}