diff options
author | 2017-02-26 23:44:11 +0100 | |
---|---|---|
committer | 2017-02-28 11:21:15 +0100 | |
commit | 6dd4b1f1d026e478d9177b28169b377e212400f3 (patch) | |
tree | 7a89e5dde1b86ad4d018cd9eda5ce40acb29f7c9 /scripts/qapi-commands.py | |
parent | 9pfs: local: rename: use renameat (diff) | |
download | qemu-6dd4b1f1d026e478d9177b28169b377e212400f3.tar.xz qemu-6dd4b1f1d026e478d9177b28169b377e212400f3.zip |
9pfs: local: improve error handling in link op
When using the mapped-file security model, we also have to create a link
for the metadata file if it exists. In case of failure, we should rollback.
That's what this patch does.
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions