diff options
author | Brian Behlendorf <[email protected]> | 2010-08-26 09:52:42 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2010-08-31 08:38:35 -0700 |
commit | c65aa5b2b9c48375ea1c451f252f0056e16f4e49 (patch) | |
tree | 03a6eb1b280faaa39af0a2be5d39cd7178d91c42 /module/zfs/dmu_zfetch.c | |
parent | e75c13c353571efaa9b4e047f16969ec13a518f5 (diff) |
Fix gcc missing parenthesis warnings
Gcc -Wall warn: 'missing parenthesis'
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/dmu_zfetch.c')
-rw-r--r-- | module/zfs/dmu_zfetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dmu_zfetch.c b/module/zfs/dmu_zfetch.c index 37037c30f..4a1b1f4a7 100644 --- a/module/zfs/dmu_zfetch.c +++ b/module/zfs/dmu_zfetch.c @@ -665,7 +665,7 @@ dmu_zfetch(zfetch_t *zf, uint64_t offset, uint64_t size, int prefetched) ZFETCHSTAT_BUMP(zfetchstat_hits); } else { ZFETCHSTAT_BUMP(zfetchstat_misses); - if (fetched = dmu_zfetch_colinear(zf, &zst)) { + if ((fetched = dmu_zfetch_colinear(zf, &zst))) { ZFETCHSTAT_BUMP(zfetchstat_colinear_hits); } else { ZFETCHSTAT_BUMP(zfetchstat_colinear_misses); |