If IO_SYNC was passed to ffs_truncate(), request synchronous inode
update from the final ffs_update(). Noted by: bde MFC after: 1 week
This commit is contained in:
parent
3d0691acdc
commit
f30ddc49e6
@ -610,7 +610,7 @@ extclean:
|
|||||||
softdep_journal_freeblocks(ip, cred, length, IO_EXT);
|
softdep_journal_freeblocks(ip, cred, length, IO_EXT);
|
||||||
else
|
else
|
||||||
softdep_setup_freeblocks(ip, length, IO_EXT);
|
softdep_setup_freeblocks(ip, length, IO_EXT);
|
||||||
return (ffs_update(vp, !DOINGASYNC(vp)));
|
return (ffs_update(vp, (flags & IO_SYNC) != 0 || !DOINGASYNC(vp)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user