PERFORCE change 170986 for review
Aditya Sarawgi
truncs at FreeBSD.org
Tue Nov 24 16:11:50 UTC 2009
http://p4web.freebsd.org/chv.cgi?CH=170986
Change 170986 by truncs at aditya on 2009/11/24 16:11:20
Filesystem stat in mount struct.
Affected files ...
.. //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_vfsops.c#10 edit
Differences ...
==== //depot/projects/soc2009/soc_ext2fs/src/sys/fs/ext2fs/ext2_vfsops.c#10 (text+ko) ====
@@ -618,6 +618,13 @@
ump->um_seqinc = EXT2_FRAGS_PER_BLOCK(fs);
if (ronly == 0)
ext2_sbupdate(ump, MNT_WAIT);
+ /*
+ * Initialize filesystem stat information in mount struct.
+ */
+ MNT_ILOCK(mp);
+ mp->mnt_kern_flag |= MNTK_MPSAFE | MNTK_LOOKUP_SHARED |
+ MNTK_EXTENDED_SHARED;
+ MNT_UNLOCK(mp);
return (0);
out:
if (bp)
More information about the p4-projects
mailing list