Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/ufs/ffs



Module Name:    src
Committed By:   hannken
Date:           Mon Dec 30 09:03:07 UTC 2024

Modified Files:
        src/sys/ufs/ffs: ffs_vfsops.c ffs_wapbl.c

Log Message:
Protect test/clear fs->fs_fmod with um_lock like it is already
protected in ffs_alloc.c.

When writing to disk protect moving superblock to buffer with um_lock.

Set/clear fs->fmod while mounting, updating a mount or unmounting
is safe as these operations run exclusive, either mounting creates
a new file system or the file system is suspended.  Assert suspension
for update and unmount.

PR kern/58837 "ffs: Missing locking around fs_fmod/time"


To generate a diff of this commit:
cvs rdiff -u -r1.383 -r1.384 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.49 -r1.50 src/sys/ufs/ffs/ffs_wapbl.c

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




Home | Main Index | Thread Index | Old Index