Whamcloud - gitweb
LU-6160 osd-zfs: Fix refcount_add call 44/28544/2
authorGiuseppe Di Natale <dinatale2@llnl.gov>
Mon, 14 Aug 2017 16:51:52 +0000 (09:51 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 7 Jun 2018 20:06:56 +0000 (20:06 +0000)
commitad7e62cc15e9e90d33a7302308d47566e4af3593
tree0655b660de44cf66c181c27f0821d444456f0eba
parent773804640a5d7bb9d106714096dab30cd873501c
LU-6160 osd-zfs: Fix refcount_add call

Correct the refcount_add in osd-zfs module's osd_fix_new_dnode
function. The variable 'tag' was undefined and caused osd-zfs
to fail builds against zfs packages with debug enabled.

This small change should enable lustre to be built against
zfs packages that have debug enabled.

Test-Parameters: trivial
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Change-Id: If95f0af6178cf0ea78724658edfaece1ee16a3f1
Reviewed-on: https://review.whamcloud.com/28544
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osd-zfs/osd_object.c