diff options
author | Brian Behlendorf <[email protected]> | 2010-08-26 09:52:39 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-08-27 15:33:32 -0700 |
commit | b8864a233c569edcc57c686f3ea8cd1ae3b89153 (patch) | |
tree | 98f5f0a1b99e25031c2b8647b5bb38020f5e7657 /module/zfs/zil.c | |
parent | d6320ddb78fa89c4d0fc2af00ae53c7c70992f96 (diff) |
Fix gcc cast warnings
Gcc -Wall warn: 'lacks a cast'
Gcc -Wall warn: 'comparison between pointer and integer'
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/zil.c')
-rw-r--r-- | module/zfs/zil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zil.c b/module/zfs/zil.c index e89a24e41..fd4d76821 100644 --- a/module/zfs/zil.c +++ b/module/zfs/zil.c @@ -1299,7 +1299,7 @@ zil_clean(zilog_t *zilog, uint64_t synced_txg) * created a bad performance problem. */ if (taskq_dispatch(zilog->zl_clean_taskq, - (void (*)(void *))zil_itxg_clean, clean_me, TQ_NOSLEEP) == NULL) + (void (*)(void *))zil_itxg_clean, clean_me, TQ_NOSLEEP) == 0) zil_itxg_clean(clean_me); } |