0
0
Fork 0
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:
Jason Volk 2019-10-05 17:55:10 -07:00
parent f3d1f50f0e
commit d6c0e4cf20

View file

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