From f145c6774a0201f306f254165af9c677e4f6019a Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 21 Apr 2019 03:57:12 -0700 Subject: [PATCH] ircd::fs: Rename function. --- include/ircd/fs/read.h | 2 +- ircd/fs.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ircd/fs/read.h b/include/ircd/fs/read.h index 357f30b62..255af9d1a 100644 --- a/include/ircd/fs/read.h +++ b/include/ircd/fs/read.h @@ -28,7 +28,7 @@ namespace ircd::fs std::string read(const string_view &path, const read_opts & = read_opts_default); // Test whether bytes in the specified range are cached and should not block - bool fetched(const fd &, const size_t &, const read_opts & = read_opts_default); + bool fincore(const fd &, const size_t &, const read_opts & = read_opts_default); // Prefetch bytes for subsequent read(); offset is given in opts. size_t prefetch(const fd &, const size_t &, const read_opts & = read_opts_default); diff --git a/ircd/fs.cc b/ircd/fs.cc index ee3caa708..1ae0a6a36 100644 --- a/ircd/fs.cc +++ b/ircd/fs.cc @@ -504,7 +504,7 @@ ircd::fs::prefetch(const fd &fd, } bool -ircd::fs::fetched(const fd &fd, +ircd::fs::fincore(const fd &fd, const size_t &count, const read_opts &opts) {