Date: Sun, 30 Dec 2018 15:17:58 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r342621 - stable/12/sys/ufs/ffs Message-ID: <201812301517.wBUFHw6r032397@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sun Dec 30 15:17:57 2018 New Revision: 342621 URL: https://svnweb.freebsd.org/changeset/base/342621 Log: MFC r342381: Allocate v_object for the new snapshot vnode. Modified: stable/12/sys/ufs/ffs/ffs_snapshot.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/ufs/ffs/ffs_snapshot.c ============================================================================== --- stable/12/sys/ufs/ffs/ffs_snapshot.c Sun Dec 30 15:17:00 2018 (r342620) +++ stable/12/sys/ufs/ffs/ffs_snapshot.c Sun Dec 30 15:17:57 2018 (r342621) @@ -302,6 +302,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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812301517.wBUFHw6r032397>