summaryrefslogtreecommitdiff
path: root/src/readahead-common.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-03 23:03:26 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-03 23:03:26 +0100
commit2b590e135f53a1bd3e771bdc555f7bf28c4cd232 (patch)
tree692dcb53426de099bc71ab5ed111d62823e74f2e /src/readahead-common.h
parentc1b664d055276f47f152fe90d1dd765c384271bc (diff)
readahead: disable collector automatically on read-only media
Diffstat (limited to 'src/readahead-common.h')
-rw-r--r--src/readahead-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/readahead-common.h b/src/readahead-common.h
index 964ca1f2fa..167df316d9 100644
--- a/src/readahead-common.h
+++ b/src/readahead-common.h
@@ -32,6 +32,7 @@
int file_verify(int fd, const char *fn, off_t file_size_max, struct stat *st);
int fs_on_ssd(const char *p);
+int fs_on_read_only(const char *p);
bool enough_ram(void);