svn commit: r342623 - stable/11/sys/ufs/ffs
Konstantin Belousov
kib at FreeBSD.org
Sun Dec 30 15:21:30 UTC 2018
Author: kib
Date: Sun Dec 30 15:21:25 2018
New Revision: 342623
URL: https://svnweb.freebsd.org/changeset/base/342623
Log:
MFC r342381:
Allocate v_object for the new snapshot vnode.
Modified:
stable/11/sys/ufs/ffs/ffs_snapshot.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/ufs/ffs/ffs_snapshot.c
==============================================================================
--- stable/11/sys/ufs/ffs/ffs_snapshot.c Sun Dec 30 15:20:35 2018 (r342622)
+++ stable/11/sys/ufs/ffs/ffs_snapshot.c Sun Dec 30 15:21:25 2018 (r342623)
@@ -300,6 +300,7 @@ restart:
return (error);
}
vp = nd.ni_vp;
+ vnode_create_vobject(nd.ni_vp, fs->fs_size, td);
vp->v_vflag |= VV_SYSTEM;
ip = VTOI(vp);
devvp = ITODEVVP(ip);
More information about the svn-src-all
mailing list