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
/
sa.c
diff --git
a/module/zfs/sa.c
b/module/zfs/sa.c
index
b6e61be
..
f94b6ac
100644
(file)
--- a/
module/zfs/sa.c
+++ b/
module/zfs/sa.c
@@
-1105,16
+1105,16
@@
sa_tear_down(objset_t *os)
sa_free_attr_table(sa);
cookie = NULL;
sa_free_attr_table(sa);
cookie = NULL;
- while (
layout = avl_destroy_nodes(&sa->sa_layout_hash_tree, &cookie))
{
+ while (
(layout = avl_destroy_nodes(&sa->sa_layout_hash_tree, &cookie)))
{
sa_idx_tab_t *tab;
sa_idx_tab_t *tab;
- while (
tab = list_head(&layout->lot_idx_tab
)) {
+ while (
(tab = list_head(&layout->lot_idx_tab)
)) {
ASSERT(refcount_count(&tab->sa_refcount));
sa_idx_tab_rele(os, tab);
}
}
cookie = NULL;
ASSERT(refcount_count(&tab->sa_refcount));
sa_idx_tab_rele(os, tab);
}
}
cookie = NULL;
- while (
layout = avl_destroy_nodes(&sa->sa_layout_num_tree, &cookie))
{
+ while (
(layout = avl_destroy_nodes(&sa->sa_layout_num_tree, &cookie)))
{
kmem_free(layout->lot_attrs,
sizeof (sa_attr_type_t) * layout->lot_attr_count);
kmem_free(layout, sizeof (sa_lot_t));
kmem_free(layout->lot_attrs,
sizeof (sa_attr_type_t) * layout->lot_attr_count);
kmem_free(layout, sizeof (sa_lot_t));
@@
-1387,7
+1387,7
@@
sa_handle_get(objset_t *objset, uint64_t objid, void *userp,
dmu_buf_t *db;
int error;
dmu_buf_t *db;
int error;
- if (
error = dmu_bonus_hold(objset, objid, NULL, &db
))
+ if (
(error = dmu_bonus_hold(objset, objid, NULL, &db)
))
return (error);
return (sa_handle_get_from_db(objset, db, userp, hdl_type,
return (error);
return (sa_handle_get_from_db(objset, db, userp, hdl_type,