0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

ircd::fs: Rename function.

This commit is contained in:
Jason Volk 2019-04-21 03:57:12 -07:00
parent 1137f8a29b
commit f145c6774a
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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)
{