Home
last modified time | relevance | path

Searched hist:"577 a1339" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dfile-posix.c577a1339 Fri Nov 16 10:45:25 CST 2018 Max Reitz <mreitz@redhat.com> file-posix: Fix shared locks on reopen commit

s->locked_shared_perm is the set of bits locked in the file, which is
the inverse of the permissions actually shared. So we need to pass them
as they are to raw_apply_lock_bytes() instead of inverting them again.

Reported-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>