You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[SCSI] Add scsi_dev_info_list_del_keyed()
For scsi_dh.c to use devinfo lists, we have to be able to remove entries before rmmod. Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
committed by
James Bottomley
parent
716163ff90
commit
38a039be2e
@@ -56,6 +56,7 @@ extern int scsi_get_device_flags_keyed(struct scsi_device *sdev,
|
||||
extern int scsi_dev_info_list_add_keyed(int compatible, char *vendor,
|
||||
char *model, char *strflags,
|
||||
int flags, int key);
|
||||
extern int scsi_dev_info_list_del_keyed(char *vendor, char *model, int key);
|
||||
extern int scsi_dev_info_add_list(int key, const char *name);
|
||||
extern int scsi_dev_info_remove_list(int key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user