commit | 521da527743088a9bd2ab882f8b64799d49d5848 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Aug 02 11:21:36 2012 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Aug 02 11:21:36 2012 +0200 |
tree | 1844b18249229e13b3da133cc11552c29dd7cda8 | |
parent | 9ec7779f89d4dde9fe1e23d68abaefda54b35de7 [diff] [blame] |
mutex: make 0/1 FIO_MUTEX_LOCKED and FIO_MUTEX_UNLOCKED Makes the API look cleaner. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/cgroup.c b/cgroup.c index ea6bbd6..86d4d5e 100644 --- a/cgroup.c +++ b/cgroup.c
@@ -182,7 +182,7 @@ static void fio_init cgroup_init(void) { - lock = fio_mutex_init(1); + lock = fio_mutex_init(FIO_MUTEX_UNLOCKED); } static void fio_exit cgroup_exit(void)