]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allocate v_object for the new snapshot vnode.
authorkib <kib@FreeBSD.org>
Sun, 23 Dec 2018 18:54:09 +0000 (18:54 +0000)
committerkib <kib@FreeBSD.org>
Sun, 23 Dec 2018 18:54:09 +0000 (18:54 +0000)
commitc93608ca1862061845dde1bf6fbaf5967ab80d5c
tree6d5304580de0b45b035343c89b2525474061e00b
parentf31f9d541398d61aaa2430642b20a474b04d43e3
Allocate v_object for the new snapshot vnode.

The vnode is not opened, so it ends up with the malloced buffers otherwise.

Reported and tested by: pho
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
sys/ufs/ffs/ffs_snapshot.c