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
Remove inconsistent use of EOPNOTSUPP
[zfs.git]
/
module
/
zfs
/
bplist.c
diff --git
a/module/zfs/bplist.c
b/module/zfs/bplist.c
index
066ccc6
..
5d1cf7e
100644
(file)
--- a/
module/zfs/bplist.c
+++ b/
module/zfs/bplist.c
@@
-58,7
+58,7
@@
bplist_iterate(bplist_t *bpl, bplist_itor_t *func, void *arg, dmu_tx_t *tx)
bplist_entry_t *bpe;
mutex_enter(&bpl->bpl_lock);
bplist_entry_t *bpe;
mutex_enter(&bpl->bpl_lock);
- while (
bpe = list_head(&bpl->bpl_list
)) {
+ while (
(bpe = list_head(&bpl->bpl_list)
)) {
list_remove(&bpl->bpl_list, bpe);
mutex_exit(&bpl->bpl_lock);
func(arg, &bpe->bpe_blk, tx);
list_remove(&bpl->bpl_list, bpe);
mutex_exit(&bpl->bpl_lock);
func(arg, &bpe->bpe_blk, tx);