mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +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"
|
||||
#endif
|
||||
|
||||
// TODO: prevents use until io_uring support implemented
|
||||
#undef IRCD_USE_IOU
|
||||
|
||||
namespace ircd::fs
|
||||
{
|
||||
static uint posix_flags(const std::ios::openmode &mode);
|
||||
|
@ -1513,6 +1516,7 @@ ircd::fs::advise(const fd &fd,
|
|||
const size_t &count,
|
||||
const opts &opts)
|
||||
{
|
||||
return 0UL;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue