file-posix: Fix fd_open check in raw_co_copy_range_to
commit9f850f67adc8d8b333cceae023a6462e184848cd
authorFam Zheng <famz@redhat.com>
Mon, 2 Jul 2018 02:58:34 +0000 (2 10:58 +0800)
committerMax Reitz <mreitz@redhat.com>
Mon, 9 Jul 2018 17:43:24 +0000 (9 19:43 +0200)
tree867be5fe9392de5e2abb80e907e7a15e4c84a180
parent148546c8222e922c5dcc652b81cb97ea2ad4fd5b
file-posix: Fix fd_open check in raw_co_copy_range_to

One of them is a typo. But update both to be more readable.

Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 20180702025836.20957-3-famz@redhat.com
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/file-posix.c