Date: Thu, 25 Feb 2021 20:52:36 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 298fde182f38 - releng/13.0 - ffs_reallocblks: change the guard for softdep_prealloc() call to DOINGSUJ() Message-ID: <202102252052.11PKqaU2079571@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch releng/13.0 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=298fde182f389b48eecd0f6f84c6479e743b70a8 commit 298fde182f389b48eecd0f6f84c6479e743b70a8 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-02-19 12:37:12 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-02-25 20:50:37 +0000 ffs_reallocblks: change the guard for softdep_prealloc() call to DOINGSUJ() Approved by: re (delphij, gjb) (cherry picked from commit cc9958bf22f1426faf4be8bf492ce69587a9008f) --- sys/ufs/ffs/ffs_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 3b652ea14303..c7a1e2dec15e 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -543,7 +543,7 @@ ffs_reallocblks(ap) * here. Instead we simply fail to reallocate blocks if this * rare condition arises. */ - if (DOINGSOFTDEP(ap->a_vp)) + if (DOINGSUJ(ap->a_vp)) if (softdep_prealloc(ap->a_vp, MNT_NOWAIT) != 0) return (ENOSPC); if (ump->um_fstype == UFS1)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102252052.11PKqaU2079571>