projects
/
disktools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e0b78
)
[PATCH] fio: cpumask assignment should be a memcpy
author
Jens Axboe
<axboe@suse.de>
Wed, 19 Oct 2005 08:17:48 +0000
(10:17 +0200)
committer
Jens Axboe
<axboe@suse.de>
Wed, 19 Oct 2005 08:17:48 +0000
(10:17 +0200)
fio.c
patch
|
blob
|
blame
|
history
diff --git
a/fio.c
b/fio.c
index b9c12e7442e52182b2bc689c7090d97f6a51faff..f6a25271100e9016eb4d9af210ad900674e493a6 100644
(file)
--- a/
fio.c
+++ b/
fio.c
@@
-541,7
+541,7
@@
void add_job(const char *filename, int rw, int bs, int direct, int prio, int ran
td->odirect = direct;
td->bs = bs;
td->delay_sleep = delay;
-
td->cpumask = cpumask
;
+
memcpy(&td->cpumask, &cpumask, sizeof(cpumask))
;
if (rate)
setup_rate(td, rate);