fileobj_flush_page(): Not flush when MF_HOST_RELEASED

This commit is contained in:
Masamichi Takagi
2017-08-16 03:05:38 +09:00
parent 75e2bb7793
commit 184c2d311c

View File

@ -688,7 +688,7 @@ static int fileobj_flush_page(struct memobj *memobj, uintptr_t phys,
return 0;
}
if (memobj->flags |= MF_HOST_RELEASED) {
if (memobj->flags & MF_HOST_RELEASED) {
return 0;
}