Re: [PATCH 15/15] btrfs: add struct declarations in dev-replace.h

Anand Jain
2022-09-15T13:06:23Z

On 15/09/2022 07:04, Josef Bacik wrote:
> dev-replace.h just has function prototypes for device replace, however
> if you happen to include it in the wrong order you'll get compile errors
> because of different structures not being defined. Since these are just
> pointer args to functions we can declare them at the top in order to
> reduce the pain of using the header.
>
> Signed-off-by: Josef Bacik <josef@toxicpanda.com>

Reviewed-by: Anand Jain <anand.jain@oracle.com>