Re: [PATCH] block: export disk_part_iter_* helpers

From: Xu, Yanfei
Date: Fri Mar 26 2021 - 09:02:12 EST




On 3/26/21 8:13 PM, Christoph Hellwig wrote:
[Please note: This e-mail is from an EXTERNAL e-mail address]

On Fri, Mar 26, 2021 at 08:10:59PM +0800, yanfei.xu@xxxxxxxxxxxxx wrote:
From: Yanfei Xu <yanfei.xu@xxxxxxxxxxxxx>

disk_part_iter_* helpers might be used by other external modules, like
lttng-modules. But it was unexport in 'commit bc359d03c7ec ("block: add
a disk_uevent helper")'. Here export them again.

Err, no. We never export things for out of tree modules. And any kind
of driver code has absolutely no business looking at the partition tables
to start with, modular or not.
I see. Thanks.

//Yanfei