summaryrefslogtreecommitdiff
path: root/src/journal/journald-server.h
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2016-10-12 09:58:10 +0200
committerFranck Bui <fbui@suse.com>2016-10-19 09:53:07 +0200
commit3a19f2150da1baae5af65f85864ff8df403a1aea (patch)
tree7130df0c426f27e8b7394b258fd145f3ca832a82 /src/journal/journald-server.h
parenta0edc477bd80208596badb9bc147a0d0eb06fbf6 (diff)
downloadsystemd-3a19f2150da1baae5af65f85864ff8df403a1aea.tar.gz
journal: introduce patch_min_use() helper
Updating min_use is rather an unusual operation that is limited when we first open the journal files, therefore extracts it from determine_space_for() and create a function of its own and call this new function when needed. determine_space_for() is now dealing with storage space (cached) values only. There should be no functional changes.
Diffstat (limited to 'src/journal/journald-server.h')
-rw-r--r--src/journal/journald-server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-server.h b/src/journal/journald-server.h
index 1ce52cdadd..99d91496be 100644
--- a/src/journal/journald-server.h
+++ b/src/journal/journald-server.h
@@ -194,7 +194,7 @@ SplitMode split_mode_from_string(const char *s) _pure_;
int server_init(Server *s);
void server_done(Server *s);
void server_sync(Server *s);
-int server_vacuum(Server *s, bool verbose, bool patch_min_use);
+int server_vacuum(Server *s, bool verbose);
void server_rotate(Server *s);
int server_schedule_sync(Server *s, int priority);
int server_flush_to_var(Server *s);