diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2021-11-01 23:47:43 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-11-12 23:00:54 +0000 |
commit | eede22d66d0043bf46e0aeac9496bec0a52f87a1 (patch) | |
tree | 3276ef9f996013ed7273d74fb5a54fc03dfafd5b /sys/ufs/ffs/ffs_snapshot.c | |
parent | 25809a018db3c9f3be838c10576d2bb070cc055a (diff) | |
download | src-eede22d66d0043bf46e0aeac9496bec0a52f87a1.tar.gz src-eede22d66d0043bf46e0aeac9496bec0a52f87a1.zip |
ffs_snapshot: do not assert that um_devvp is locked
It is not, and the lock is not needed there
Reported and tested by: pho
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32761
Diffstat (limited to 'sys/ufs/ffs/ffs_snapshot.c')
-rw-r--r-- | sys/ufs/ffs/ffs_snapshot.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c index 5855a679ab84..a0d16d9eccef 100644 --- a/sys/ufs/ffs/ffs_snapshot.c +++ b/sys/ufs/ffs/ffs_snapshot.c @@ -2124,7 +2124,6 @@ ffs_snapshot_mount(mp) } VOP_UNLOCK(vp); VI_LOCK(devvp); - ASSERT_VOP_LOCKED(devvp, "ffs_snapshot_mount"); sn->sn_listsize = snaplistsize; sn->sn_blklist = (daddr_t *)snapblklist; devvp->v_vflag |= VV_COPYONWRITE; @@ -2172,7 +2171,6 @@ ffs_snapshot_unmount(mp) sn = devvp->v_rdev->si_snapdata; } try_free_snapdata(devvp); - ASSERT_VOP_LOCKED(devvp, "ffs_snapshot_unmount"); } /* |