summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2017-05-29 14:08:50 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2017-05-29 14:08:50 +0000
commitc39c3aea481a2d9ebeaf9876732f190a0ab559fd (patch)
tree7ddffe774dbdab1b9a46a24bf05b124cfef74810 /sys/net/pf.c
parentf4d37800595ef62f944a7168c1ce6e5cabdd3e4e (diff)
sd: flush cache when closing writable FD
Don't skip the cache flush until the last opening of the device is closed. Otherwise, when umounting a writable partition while a different partition is still mounted read-only, the necessary disk flush may be delayed for a very long time. ok krw@ deraadt@
Diffstat (limited to 'sys/net/pf.c')
0 files changed, 0 insertions, 0 deletions