diff options
author | Max Reitz | 2018-07-04 16:47:50 +0200 |
---|---|---|
committer | Kevin Wolf | 2018-07-05 11:07:58 +0200 |
commit | d815efcaf01b1698e2fdf0f3e125201025c53191 (patch) | |
tree | fd5f634e564a4a41dd60c1dd59da77508b7f7ff1 /scripts/qapi/common.py | |
parent | block/blklogwrites: Add an option for the update interval of the log superblock (diff) | |
download | qemu-d815efcaf01b1698e2fdf0f3e125201025c53191.tar.gz qemu-d815efcaf01b1698e2fdf0f3e125201025c53191.tar.xz qemu-d815efcaf01b1698e2fdf0f3e125201025c53191.zip |
file-posix: Fix creation locking
raw_apply_lock_bytes() takes a bit mask of "permissions that are NOT
shared".
Also, make the "perm" and "shared" variables uint64_t, because I do not
particularly like using ~ on signed integers (and other permission masks
are usually uint64_t, too).
Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions