]> git.ipfire.org Git - thirdparty/systemd.git/commit
fileio: let's minimize 'count' inc/dec calls
authorLennart Poettering <lennart@poettering.net>
Mon, 17 Dec 2018 10:52:05 +0000 (11:52 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 18 Dec 2018 14:03:21 +0000 (15:03 +0100)
commit91a306b81322dae9c6d99421a2f38d763c518d2e
tree687014466dd8e6bbeb85f1a457481c8e6690be6e
parent41f11239c0c83c378643fc4942c726a49025b3b8
fileio: let's minimize 'count' inc/dec calls

instead of increasing it and immediately after decreasing it again,
let's just increase it a bit later.
src/basic/fileio.c