HomeFreeBSD

ufs/suspend: deny suspension if the calling process has a file from mp opened…

Description

ufs/suspend: deny suspension if the calling process has a file from mp opened for write

Also deny suspension if we cannot check the above condition race-free
because there is more than one thread in the calling process.

PR: 267628, 267630
Reviewed by: mckusick
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D37896

Details

Provenance
kibAuthored on Dec 28 2022, 6:14 PM
Reviewer
mckusick
Differential Revision
D37896: ufs/suspend: deny suspension if calliing process has file from mp opened for write
Parents
rG68912701700c: ffs_suspend.c: clean up includes
Branches
Unknown
Tags
Unknown