aboutsummaryrefslogtreecommitdiff
path: root/device-hotplug.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2019-03-29 14:04:54 +0300
committerKevin Wolf <kwolf@redhat.com>2019-04-02 12:04:44 +0200
commit696aaaed579ac5bf5fa336216909b46d3d8f07a8 (patch)
treebf03fcd6298502f38562377cfb1a2ec1cfbdf1fa /device-hotplug.c
parent38e694fcc918f0f4ac1500a5c92acfa421a69773 (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 'device-hotplug.c')
0 files changed, 0 insertions, 0 deletions