From: Jens Axboe Date: Mon, 28 Dec 2015 23:16:06 +0000 (-0700) Subject: client: rename send_file() to fio_send_file() X-Git-Tag: fio-2.4~29 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=0748d80158534292d881da51479bdc85a216a471;p=fio.git client: rename send_file() to fio_send_file() AIX apparently has a symbol clash. Signed-off-by: Jens Axboe --- diff --git a/client.c b/client.c index df13254a..6c2a1ef3 100644 --- a/client.c +++ b/client.c @@ -1485,8 +1485,8 @@ static void sendfile_reply(int fd, struct cmd_sendfile_reply *rep, fio_net_send_cmd(fd, FIO_NET_CMD_SENDFILE, rep, size, &tag, NULL); } -static int send_file(struct fio_client *client, struct cmd_sendfile *pdu, - uint64_t tag) +static int fio_send_file(struct fio_client *client, struct cmd_sendfile *pdu, + uint64_t tag) { struct cmd_sendfile_reply *rep; struct stat sb; @@ -1636,7 +1636,7 @@ int fio_handle_client(struct fio_client *client) } case FIO_NET_CMD_SENDFILE: { struct cmd_sendfile *pdu = (struct cmd_sendfile *) cmd->payload; - send_file(client, pdu, cmd->tag); + fio_send_file(client, pdu, cmd->tag); break; } case FIO_NET_CMD_JOB_OPT: {