Page MenuHomeFreeBSD

D35149.diff
No OneTemporary

D35149.diff

diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -2247,7 +2247,9 @@
}
if (MOUNTEDSOFTDEP(ump->um_mountp))
softdep_setup_sbupdate(ump, (struct fs *)bp->b_data, bp);
+ UFS_LOCK(ump);
bcopy((caddr_t)fs, bp->b_data, (u_int)fs->fs_sbsize);
+ UFS_UNLOCK(ump);
fs = (struct fs *)bp->b_data;
ffs_oldfscompat_write(fs, ump);
fs->fs_si = NULL;

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 31, 10:12 AM (14 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16360529
Default Alt Text
D35149.diff (431 B)

Event Timeline