Page MenuHomeFreeBSD

ffs_use_bwrite: make the superblock snapshot more consistent
ClosedPublic

Authored by kib on May 8 2022, 2:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 4, 7:36 PM
Unknown Object (File)
Dec 6 2025, 7:49 AM
Unknown Object (File)
Dec 6 2025, 4:53 AM
Unknown Object (File)
Nov 27 2025, 4:49 PM
Unknown Object (File)
Nov 26 2025, 3:09 AM
Unknown Object (File)
Nov 25 2025, 8:54 AM
Unknown Object (File)
Nov 24 2025, 10:26 AM
Unknown Object (File)
Nov 23 2025, 3:31 PM
Subscribers

Details

Summary
Copy in-memory struct fs to the superblock buffer under the UFS mutex.

Clear fs_fmod once more, in the buffer data copy.
This is needed for in-kernel copy of the code, where allocation might
happen after fs_fmod is cleared in ffs_sbput() but before the write.

Reported by:    markj
PR:     263765

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable