ffs_reallocblks: change the guard for softdep_prealloc() call to DOINGSUJ()

(cherry picked from commit cc9958bf22)
This commit is contained in:
Konstantin Belousov 2021-02-19 14:37:12 +02:00
parent d65b86dd93
commit fd61ccfeb4

View file

@ -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)