block: add gpt partitioning
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
0d87d7bffe
commit
25c0b538d2
5 changed files with 177 additions and 3 deletions
10
kernel/block/partition.h
Normal file
10
kernel/block/partition.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef _PARTITION_H_
|
||||
#define _PARTITION_H_
|
||||
|
||||
#include <kernel/types.h>
|
||||
#include <kernel/block.h>
|
||||
|
||||
bool block_has_gpt_header(struct block_device *bdev);
|
||||
|
||||
#endif /* _PARTITION_H_ */
|
||||
Loading…
Reference in a new issue