]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
md/raid5: Cleanup prototype of raid5_get_active_stripe()
authorLogan Gunthorpe <logang@deltatee.com>
Thu, 11 Aug 2022 17:14:16 +0000 (11:14 -0600)
committerSong Liu <song@kernel.org>
Thu, 22 Sep 2022 07:05:04 +0000 (00:05 -0700)
commit2f2d51efd83225c1eb0d7771ddfe9fddd5ccd378
tree64efad489cb30dc19c78ebd8c9f0c4d5ec8a9635
parent9892fa993f8a8e716f39266b24d6218d8333ff89
md/raid5: Cleanup prototype of raid5_get_active_stripe()

Drop the three bools in the prototype of raid5_get_active_stripe()
and replace them with a flags parameter.

At the same time, drop the distinction with __raid5_get_active_stripe().

Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/raid5-cache.c
drivers/md/raid5.c
drivers/md/raid5.h