md-bitmap: split file writes into a separate helper
authorChristoph Hellwig <hch@lst.de>
Thu, 15 Jun 2023 06:48:33 +0000 (08:48 +0200)
committerSong Liu <song@kernel.org>
Thu, 27 Jul 2023 07:13:29 +0000 (00:13 -0700)
commit5339178e5303084da7655874d1aa69a0572c9b79
tree8bba2c9f7643abf4501dd5f747529ca0da13a451
parent92348518f23f4fc81caa1a0f7f587566db67b52f
md-bitmap: split file writes into a separate helper

Split the file write code out of write_page into a separate helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230615064840.629492-5-hch@lst.de
drivers/md/md-bitmap.c