On Thu, 12 Feb 2026 at 22:45, Javier Martinez Canillas
<[email protected]> wrote:
>
> There are two different struct definitions for MBR partition table
> entries: one in part_dos.h and a nearly identical one in part_efi.h.
>
> To enable future consolidation of these two structures, move part_dos.h
> to the main include directory. This makes it accessible from other parts
> of the codebase, such as part_efi.h, and is the first step toward removing
> the redundant definition.
>
> Signed-off-by: Javier Martinez Canillas <[email protected]>
> Reviewed-by: Tom Rini <[email protected]>
> ---

Reviewed-by: Ilias Apalodimas <[email protected]>

>
> (no changes since v1)
>
>  disk/part_dos.c              | 2 +-
>  {disk => include}/part_dos.h | 0
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  rename {disk => include}/part_dos.h (100%)
>
> diff --git a/disk/part_dos.c b/disk/part_dos.c
> index 18dd35c9b98e..2545cc6bf5d2 100644
> --- a/disk/part_dos.c
> +++ b/disk/part_dos.c
> @@ -19,7 +19,7 @@
>  #include <vsprintf.h>
>  #include <asm/unaligned.h>
>  #include <linux/compiler.h>
> -#include "part_dos.h"
> +#include <part_dos.h>
>  #include <part.h>
>
>  #define DOS_PART_DEFAULT_SECTOR 512
> diff --git a/disk/part_dos.h b/include/part_dos.h
> similarity index 100%
> rename from disk/part_dos.h
> rename to include/part_dos.h
> --
> 2.53.0
>

Reply via email to