2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-15 15:51:44 +00:00

ibft_fill_data() prototype change.

This commit is contained in:
Michael Brown 2006-12-21 18:42:51 +00:00
parent d6f9152bfa
commit 9485478acc
2 changed files with 2 additions and 4 deletions

View File

@ -4,9 +4,7 @@
/* Placeholder file */
static inline int ibft_fill_data ( struct net_device *netdev __unused,
const char *initiator_iqn __unused,
struct sockaddr_tcpip *st_target __unused,
const char *target_iqn __unused ) {
struct iscsi_session *iscsi __unused ) {
return 0;
}

View File

@ -35,7 +35,7 @@ int test_iscsiboot ( const char *initiator_iqn,
strerror ( rc ) );
return rc;
}
ibft_fill_data ( netdev, initiator_iqn, target, target_iqn );
ibft_fill_data ( netdev, &test_iscsidev.iscsi );
memset ( &drive, 0, sizeof ( drive ) );
drive.drive = drivenum;
drive.blockdev = &test_iscsidev.scsi.blockdev;