diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2019-03-29 14:04:54 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-04-02 12:04:44 +0200 |
commit | 696aaaed579ac5bf5fa336216909b46d3d8f07a8 (patch) | |
tree | bf03fcd6298502f38562377cfb1a2ec1cfbdf1fa /LICENSE | |
parent | 38e694fcc918f0f4ac1500a5c92acfa421a69773 (diff) |
block/file-posix: do not fail on unlock bytes
bdrv_replace_child() calls bdrv_check_perm() with error_abort on
loosening permissions. However file-locking operations may fail even
in this case, for example on NFS. And this leads to Qemu crash.
Let's avoid such errors. Note, that we ignore such things anyway on
permission update commit and abort.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions