Re: [PATCH 4/5] file-posix: Simplify raw_co_prw's 'out' zone code

2023-08-24 Thread Sam Li
Hanna Czenczek 于2023年8月24日周四 23:53写道: > > We duplicate the same condition three times here, pull it out to the top > level. > > Signed-off-by: Hanna Czenczek > --- > block/file-posix.c | 18 +- > 1 file changed, 5 insertions(+), 13 deletions(-) Reviewed-by: Sam Li

[PATCH 4/5] file-posix: Simplify raw_co_prw's 'out' zone code

2023-08-24 Thread Hanna Czenczek
We duplicate the same condition three times here, pull it out to the top level. Signed-off-by: Hanna Czenczek --- block/file-posix.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/block/file-posix.c b/block/file-posix.c index a050682e97..aa89789737 100644