]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ffs_update(): recalculate flags after relocking the vnode
authorKonstantin Belousov <kib@FreeBSD.org>
Thu, 26 Aug 2021 16:12:58 +0000 (19:12 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Tue, 31 Aug 2021 04:38:35 +0000 (07:38 +0300)
commitf822d4feb87a7bd7747679aa779942d24fff08e0
treee95716d38c8df855b90453a84f0155d98e2d8893
parent18027aa233f66ee2fd33e335f1d0e757e245aed0
ffs_update(): recalculate flags after relocking the vnode

Inode type could migrate between snapshot and regular types while the
vnode is unlocked.  Recalculate flags specific for snapshot after relock.

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