journal: introduce server_space_usage_message()
authorFranck Bui <fbui@suse.com>
Tue, 11 Oct 2016 14:46:16 +0000 (16:46 +0200)
committerFranck Bui <fbui@suse.com>
Wed, 19 Oct 2016 07:53:07 +0000 (09:53 +0200)
commitcba5629e870bdab445a3b2ad42b140667c22eac1
tree6bc78b4755497d2a720f3af822d2b53a9d5b19de
parent266a470005c65851bb5cf6ab6fc1bb0828456ae2
journal: introduce server_space_usage_message()

This commit simply extracts from determine_space_for() the code which emits the
storage usage message and put it into a function of its own so it can be reused
by others paths later.

No functional changes.
src/journal/journald-server.c
src/journal/journald-server.h