commit | 0bce597d6ec34b2af802799eb53ebc863c704d05 | [log] [tgz] |
---|---|---|
author | Jeff Cody <jcody@redhat.com> | Thu Sep 20 15:13:34 2012 -0400 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon Sep 24 15:15:12 2012 +0200 |
tree | f27008e64bad97a7e9ce6a674ee3809afa67c2bd | |
parent | 3fe4b70008f3a0323e1d685becc6a9cff2b71de7 [diff] |
block: convert bdrv_commit() to use bdrv_reopen() Currently, bdrv_commit() reopens images r/w itself, via risky _delete() and _open() calls. Use the new safe method for drive reopen. Signed-off-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>