[systemd-commits] src/readahead-collect.c
Lennart Poettering
lennart at kemper.freedesktop.org
Tue Sep 28 11:53:49 PDT 2010
src/readahead-collect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 55888fa400965fe6e458e78a844da8c85735311b
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Sep 28 04:03:22 2010 +0200
readahead: fix SSD check
diff --git a/src/readahead-collect.c b/src/readahead-collect.c
index c8b2cdc..0838dd3 100644
--- a/src/readahead-collect.c
+++ b/src/readahead-collect.c
@@ -422,7 +422,7 @@ done:
log_debug("Writing Pack File...");
- on_ssd = fs_on_ssd(root) == 0;
+ on_ssd = fs_on_ssd(root) > 0;
log_debug("On SSD: %s", yes_no(on_ssd));
on_btrfs = statfs(root, &sfs) >= 0 && sfs.f_type == BTRFS_SUPER_MAGIC;
More information about the systemd-commits
mailing list