diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2021-01-23 21:50:55 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2021-02-12 01:02:20 +0000 |
commit | 1de1e2bfbf3c089418bbe67c096d60315c8ca5dd (patch) | |
tree | 584ae225bfdd242d30a3e74b8090aab907381232 /sys/net | |
parent | 89fd61d955ada4fdb20030253206201bc279cdf0 (diff) | |
download | src-1de1e2bfbf3c089418bbe67c096d60315c8ca5dd.tar.gz src-1de1e2bfbf3c089418bbe67c096d60315c8ca5dd.zip |
ffs_syncvnode: only clear IN_NEEDSYNC after successfull sync
If it is cleaned before the sync, other threads might see the inode without
the flag set, because syncing could unlock it.
Reviewed by: chs, mckusick
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/net')
0 files changed, 0 insertions, 0 deletions