Do not consume extra reference. This is a bug in r287479.
Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
e72671b79f
commit
9a0916a6b3
@ -13325,8 +13325,7 @@ softdep_ast_cleanup_proc(void)
|
||||
if (softdep_excess_items(ump, D_NEWBLK) ||
|
||||
softdep_excess_items(ump, D_ALLOCDIRECT) ||
|
||||
softdep_excess_items(ump, D_ALLOCINDIR)) {
|
||||
error = vn_start_write(NULL, &mp, V_MNTREF |
|
||||
V_WAIT);
|
||||
error = vn_start_write(NULL, &mp, V_WAIT);
|
||||
if (error == 0) {
|
||||
req = true;
|
||||
VFS_SYNC(mp, MNT_WAIT);
|
||||
|
Loading…
Reference in New Issue
Block a user