0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd::fs: Relax assertion on buffer length at alignment.

This commit is contained in:
Jason Volk 2020-09-14 18:43:06 -07:00
parent 00657475d1
commit 439fb28854

View file

@ -1807,7 +1807,7 @@ ircd::fs::advise(const map &map,
map + offset, len
};
assert(aligned(buf, info::page_size));
assert(aligned(data(buf), info::page_size));
switch(const auto res(::madvise(data(buf), size(buf), advice)); res)
{
case 0: