Skip to content

Commit

Permalink
Silence mze warning in zap_micro.c
Browse files Browse the repository at this point in the history
  • Loading branch information
lundman committed Apr 16, 2019
1 parent d59accf commit 25fb02c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ZFSin/zfs/module/zfs/zap_micro.c
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ mzap_addent(zap_name_t *zn, uint64_t value)

#ifdef ZFS_DEBUG
for (int i = 0; i < zap->zap_m.zap_num_chunks; i++) {
mzap_ent_phys_t *mze = &zap_m_phys(zap)->mz_chunk[i];
ASSERTV(mzap_ent_phys_t *mze = &zap_m_phys(zap)->mz_chunk[i]);
ASSERT(strcmp(zn->zn_key_orig, mze->mze_name) != 0);
}
#endif
Expand Down Expand Up @@ -1625,4 +1625,3 @@ zap_get_stats(objset_t *os, uint64_t zapobj, zap_stats_t *zs)
zap_unlockdir(zap, FTAG);
return (0);
}

0 comments on commit 25fb02c

Please sign in to comment.