Page MenuHomeFreeBSD

ffs_use_bwrite: make the superblock snapshot more consistent
ClosedPublic

Authored by kib on Sun, May 8, 2:06 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.