]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: stat file in item_do() rather than in its callers
authorFranck Bui <fbui@suse.com>
Thu, 24 May 2018 12:17:07 +0000 (14:17 +0200)
committerFranck Bui <fbui@suse.com>
Mon, 30 Jul 2018 12:44:58 +0000 (14:44 +0200)
commit14f3480af1f5b5884827977fedecf0d7bb61ebab
tree34f56b2703459e1c040d4d30cd94f1361cb6253e
parent1c57fa90be988b6f50324dbaf1996ddc3e114faf
tmpfiles: stat file in item_do() rather than in its callers

This a slight simplification since all callers of item_do()
(glob_item_recursively() and item_do() itself) stat the file descriptor only
for passing it to item_do().
src/tmpfiles/tmpfiles.c