From 168562d7ed8fcfc4612e51d221e7a5fa1e1297b5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 27 Jun 2014 18:59:30 +0200 Subject: journald: invoking fstatvfs() is now redundant in the vacuuming code --- src/journal/journal-vacuum.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-54-g00ecf