diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2021-01-28 18:33:58 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-02-12 01:02:19 +0000 |
commit | e94f2f1be32294cb6d519b6631f7522466fbbb3b (patch) | |
tree | b6c5765ec250879562ff56c75fab3d8033831cee /include/err.h | |
parent | bf0db19339e770a82236b74f523be4b572bde15d (diff) | |
download | src-e94f2f1be32294cb6d519b6631f7522466fbbb3b.tar.gz src-e94f2f1be32294cb6d519b6631f7522466fbbb3b.zip |
ffs: call ufsdirhash_dirtrunc() right after setting directory size
Later processing of ffs_truncate() might temporary unlock the directory
vnode, causing unsychronized dirhash and inode sizes if update is
postponed to UFS_TRUNCATE() callers.
Reviewed by: chs, mkcusick
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'include/err.h')
0 files changed, 0 insertions, 0 deletions