Committed for 2.35
commit
60dfb30976761c9b20a22f18356e0c3e581f5394
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Tue Aug 31 19:41:02 2021 +0200
hurd msync: Drop bogus test
MS_SYNC is actually 0, so we cannot test that both MS_SYNC and MS_ASYNC
are set.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-msync.diff
kern_return_t err;
int cancel_oldtype;
- if (flags & (MS_SYNC | MS_ASYNC) == (MS_SYNC | MS_ASYNC))
- return __hurd_fail (EINVAL);
-
while (cur < target)
{
vm_address_t begin = cur;