dm: refactor dm_split_and_process_bio a bit
authorMike Snitzer <snitzer@redhat.com>
Fri, 18 Feb 2022 04:40:11 +0000 (23:40 -0500)
committerMike Snitzer <snitzer@redhat.com>
Mon, 21 Feb 2022 20:36:24 +0000 (15:36 -0500)
commitd41e077ab6ea3c21ecd844498ff1a3a9abe3c731
treebe60589bd52680b3c38c30959bdc3c6157fc76ea
parent66bdaa4302d3b58d1f8f2afcdd424addc9a80e3c
dm: refactor dm_split_and_process_bio a bit

Remove needless branching and indentation. Leaves code to catch
malformed op_is_zone_mgmt bios (they shouldn't have a payload).

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c