chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6624768
)
readahead-collect: check for negative return codes of fs_on_ssd()
author
Harald Hoyer
<harald@redhat.com>
Fri, 24 Sep 2010 10:06:02 +0000
(12:06 +0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sun, 26 Sep 2010 13:52:58 +0000
(15:52 +0200)
src/readahead-collect.c
patch
|
blob
|
history
diff --git
a/src/readahead-collect.c
b/src/readahead-collect.c
index aa136ce50ec82e3ba6a84aa360d74532bf876bf9..5c9968a06e562d3c9a25370ed6ea3b455a600967 100644
(file)
--- a/
src/readahead-collect.c
+++ b/
src/readahead-collect.c
@@
-419,7
+419,7
@@
done:
log_debug("Writing Pack File...");
- on_ssd = fs_on_ssd(root);
+ 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;