mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
ircd::fs: Fix missing return value; prevent any reference to fs::iou unimplemented calls.
This commit is contained in:
parent
f3d1f50f0e
commit
d6c0e4cf20
1 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,9 @@
|
||||||
#include "fs_iou.h"
|
#include "fs_iou.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// TODO: prevents use until io_uring support implemented
|
||||||
|
#undef IRCD_USE_IOU
|
||||||
|
|
||||||
namespace ircd::fs
|
namespace ircd::fs
|
||||||
{
|
{
|
||||||
static uint posix_flags(const std::ios::openmode &mode);
|
static uint posix_flags(const std::ios::openmode &mode);
|
||||||
|
@ -1513,6 +1516,7 @@ ircd::fs::advise(const fd &fd,
|
||||||
const size_t &count,
|
const size_t &count,
|
||||||
const opts &opts)
|
const opts &opts)
|
||||||
{
|
{
|
||||||
|
return 0UL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue