[PATCH] blktrace: missed net_sendfile argument update
authorJens Axboe <axboe@suse.de>
Tue, 21 Feb 2006 14:29:01 +0000 (15:29 +0100)
committerJens Axboe <axboe@suse.de>
Tue, 21 Feb 2006 14:29:01 +0000 (15:29 +0100)
blktrace.c

index 071a6b274477f6e92f0c457fa768fb6e1dbd4af8..8ea939032a485814bd7b6121df2e26b80863f9e8 100644 (file)
@@ -1057,7 +1057,7 @@ static void fill_ops(struct thread_information *tip)
         * setup ops
         */
        if (net_mode == Net_client) {
-               if (net_sendfile) {
+               if (net_use_sendfile) {
                        tip->get_subbuf = get_subbuf_sendfile;
                        tip->flush_subbuf = flush_subbuf_sendfile;
                } else {