aboutsummaryrefslogtreecommitdiff
path: root/release/tools/vmimage.subr
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-02-21 10:11:54 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-02-24 07:55:21 +0000
commit6f30ac9995ff662a2fee5eda4cd87dd0f0e337ba (patch)
treec3e57e4d48f9e28f264bef06a4ef219237cba7db /release/tools/vmimage.subr
parent5e198e7646a27412c0541719f7bf1bbc0bd89223 (diff)
downloadsrc-6f30ac9995ff662a2fee5eda4cd87dd0f0e337ba.tar.gz
src-6f30ac9995ff662a2fee5eda4cd87dd0f0e337ba.zip
Call softdep_prealloc() before taking ffs_lock_ea(), if unlock is committing
softdep_prealloc() must be called to ensure enough journal space is available, before ffs_extwrite(). Also it must be done before taking ffs_lock_ea(), because it calls ffs_syncvnode(), potentially dropping the vnode lock. Reviewed by: mckusick Tested by: pho MFC after: 1 week Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/tools/vmimage.subr')
0 files changed, 0 insertions, 0 deletions