summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-27 18:59:30 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-27 19:35:57 +0200
commit168562d7ed8fcfc4612e51d221e7a5fa1e1297b5 (patch)
tree664dd5e3622652eb68354388dd52d8e13eb67413 /src/journal
parent9d951bf491a2b6d32b050e8bdc301617560813c8 (diff)
journald: invoking fstatvfs() is now redundant in the vacuuming code
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journal-vacuum.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/journal/journal-vacuum.c b/src/journal/journal-vacuum.c
index 086b40f943..891b6bb848 100644
--- a/src/journal/journal-vacuum.c
+++ b/src/journal/journal-vacuum.c
@@ -292,13 +292,6 @@ int journal_directory_vacuum(
qsort_safe(list, n_list, sizeof(struct vacuum_info), vacuum_compare);
for (i = 0; i < n_list; i++) {
- struct statvfs ss;
-
- if (fstatvfs(dirfd(d), &ss) < 0) {
- r = -errno;
- goto finish;
- }
-
if ((max_retention_usec <= 0 || list[i].realtime >= retention_limit) &&
(max_use <= 0 || sum <= max_use))
break;