commit: Use real permissions for HMP 'commit'
commitd3f06759222e70979965e3afccfd88eddd3cc454
authorKevin Wolf <kwolf@redhat.com>
Thu, 19 Jan 2017 17:16:03 +0000 (19 18:16 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:40:37 +0000 (28 20:40 +0100)
tree343ee04efb39d985070d712f6e7ed64273d6519f
parent8dfba2797761d8a43744e4e6571c8175e448a478
commit: Use real permissions for HMP 'commit'

This is a little simpler than the commit block job because it's
synchronous and only commits into the immediate backing file, but
otherwise doing more or less the same.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
block/commit.c