]> git.ipfire.org Git - thirdparty/qemu.git/commit
file-posix: Simplify raw_co_prw's 'out' zone code
authorHanna Czenczek <hreitz@redhat.com>
Thu, 24 Aug 2023 15:53:43 +0000 (17:53 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 2 Oct 2023 23:00:54 +0000 (02:00 +0300)
commit8ef6104413b275015d29a673236081e6bf7c6894
tree357bdc8ab6b715d5a692b6cfd448b709bf13894c
parent31a471430fc4da19d6af1c9a7e4500db117d9066
file-posix: Simplify raw_co_prw's 'out' zone code

We duplicate the same condition three times here, pull it out to the top
level.

Signed-off-by: Hanna Czenczek <hreitz@redhat.com>
Message-Id: <20230824155345.109765-5-hreitz@redhat.com>
Reviewed-by: Sam Li <faithilikerun@gmail.com>
(cherry picked from commit d31b50a15dd25a560749b25fc40b6484fd1a57b7)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
block/file-posix.c