]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ffs_snapshot: use VOP_VPUT_PAIR after VOP_CREATE.
authorKonstantin Belousov <kib@FreeBSD.org>
Sun, 24 Jan 2021 13:56:05 +0000 (15:56 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Fri, 12 Feb 2021 01:02:20 +0000 (03:02 +0200)
commitbe44e986377780f533f961fe7c009b93379b4710
treef8d3b4e4589e492fbb1e92d6af6a1e580cfa0c98
parent3b2aa36024abcb2d8fdbf3a6ecc7438b073b04e4
ffs_snapshot: use VOP_VPUT_PAIR after VOP_CREATE.

If the snapshot embrio was reclaimed under us, return error outright.

Reviewed by: chs, mckusick
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
sys/ufs/ffs/ffs_snapshot.c