git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix gcc missing parenthesis warnings
[zfs.git]
/
module
/
zfs
/
dbuf.c
diff --git
a/module/zfs/dbuf.c
b/module/zfs/dbuf.c
index
82cfd1a
..
8fcc1b2
100644
(file)
--- a/
module/zfs/dbuf.c
+++ b/
module/zfs/dbuf.c
@@
-1810,7
+1810,7
@@
dbuf_prefetch(dnode_t *dn, uint64_t blkid)
return;
/* dbuf_find() returns with db_mtx held */
return;
/* dbuf_find() returns with db_mtx held */
- if (
db = dbuf_find(dn, 0, blkid
)) {
+ if (
(db = dbuf_find(dn, 0, blkid)
)) {
/*
* This dbuf is already in the cache. We assume that
* it is already CACHED, or else about to be either
/*
* This dbuf is already in the cache. We assume that
* it is already CACHED, or else about to be either
@@
-2395,7
+2395,7
@@
dbuf_sync_list(list_t *list, dmu_tx_t *tx)
{
dbuf_dirty_record_t *dr;
{
dbuf_dirty_record_t *dr;
- while (
dr = list_head(list
)) {
+ while (
(dr = list_head(list)
)) {
if (dr->dr_zio != NULL) {
/*
* If we find an already initialized zio then we
if (dr->dr_zio != NULL) {
/*
* If we find an already initialized zio then we