Re: [PATCH v2 2/6] block: move disk announce work from register_disk() to a helper

Christoph Hellwig
2021-07-15T07:07:14Z

On Wed, Jul 14, 2021 at 09:55:27PM -0700, Luis Chamberlain wrote:
> This moves quite a bit of code which does one thing into a helper.
> We currently do not check for errors but we may decide that might
> be desirable later.
>
> This also makes the code easier to read.
>
> This change has no functional changes.

On it's own I don't really see the point of moving two function
calls and a comment into a separate helper, but I'll see where this
series goes..