mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
libefi: remove efi_auto_sense()
It's present (but undocumented) in the illumos gate and used exclusively by rmformat(1) (which I recommend as a nice blast from the past), and also the math assumes 512B sectors and is therefore wrong Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12191
This commit is contained in:
@@ -370,7 +370,6 @@ extern int efi_rescan(int);
|
||||
extern void efi_free(struct dk_gpt *);
|
||||
extern int efi_type(int);
|
||||
extern void efi_err_check(struct dk_gpt *);
|
||||
extern int efi_auto_sense(int fd, struct dk_gpt **);
|
||||
extern int efi_use_whole_disk(int fd);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user