mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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:
parent
34f71eeb3c
commit
b5ee7ec63a
1 changed files with 1 additions and 0 deletions
|
|
@ -249,6 +249,7 @@ softdep_flushworklist(oldmnt, countp, p)
|
|||
struct proc *p;
|
||||
{
|
||||
|
||||
*countp = 0;
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue