mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
ircd:🆑 Relax runlevel requirement for memory operations.
This commit is contained in:
parent
5f0250c9e1
commit
6033f18694
1 changed files with 2 additions and 2 deletions
|
@ -915,14 +915,14 @@ ircd::cl::exec::exec(data &data,
|
|||
const opts &opts)
|
||||
try
|
||||
{
|
||||
if(unlikely(run::level != run::level::RUN))
|
||||
if(unlikely(run::level < run::level::RUN))
|
||||
throw unavailable
|
||||
{
|
||||
"Unable to write to device in runlevel %s",
|
||||
reflect(run::level),
|
||||
};
|
||||
|
||||
assert(run::level == run::level::RUN);
|
||||
assert(run::level >= run::level::RUN);
|
||||
const auto max_size
|
||||
{
|
||||
opts.size == -1UL?
|
||||
|
|
Loading…
Reference in a new issue