Module Name:    src
Committed By:   bad
Date:           Sun Aug 11 12:58:10 UTC 2024

Modified Files:
        src/sys/kern: vfs_mount.c
        src/tests/kernel: t_unmount.c

Log Message:
vfs_subr.c: in dounmount restore the async flag before checking it

This avoids the file system being put on the syncer work list and future
modified buffers being flushed to disk by the synce after an attempt to
unmount it fails.

Adjust the test case to not expect a failure.

fixes PR kern/58564.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 src/sys/kern/vfs_mount.c
cvs rdiff -u -r1.2 -r1.3 src/tests/kernel/t_unmount.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to