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)
committerHanna Czenczek <hreitz@redhat.com>
Tue, 29 Aug 2023 08:51:04 +0000 (10:51 +0200)
commitd31b50a15dd25a560749b25fc40b6484fd1a57b7
tree141ec33bf9b0227de022de183873f2ba1bff709e
parentdeab5c9a4ed74f76a713008a42527762b30a7e84
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>
block/file-posix.c