Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167252779
D2353.id4964.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
742 B
Referenced Files
None
Subscribers
None
D2353.id4964.diff
View Options
Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
===================================================================
--- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
+++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
@@ -1239,9 +1239,6 @@
}
vfs_mountedfrom(vfsp, osname);
- /* Grab extra reference. */
- VERIFY(VFS_ROOT(vfsp, LK_EXCLUSIVE, &vp) == 0);
- VOP_UNLOCK(vp, 0);
if (!zfsvfs->z_issnap)
zfsctl_create(zfsvfs);
@@ -1994,7 +1991,7 @@
/*
* Flush all the files.
*/
- ret = vflush(vfsp, 1, (fflag & MS_FORCE) ? FORCECLOSE : 0, td);
+ ret = vflush(vfsp, 0, (fflag & MS_FORCE) ? FORCECLOSE : 0, td);
if (ret != 0) {
if (!zfsvfs->z_issnap) {
zfsctl_create(zfsvfs);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Aug 21, 9:43 AM (9 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37027492
Default Alt Text
D2353.id4964.diff (742 B)
Attached To
Mode
D2353: do not hold an extra reference on a root vnode while a filesystem is mounted
Attached
Detach File
Event Timeline
Log In to Comment