]> granicus.if.org Git - spl/commit
Fix p0 initializer
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 5 Oct 2016 00:26:36 +0000 (17:26 -0700)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2016 00:26:36 +0000 (17:26 -0700)
commit341dfdb3fd44048a3149e8376b2a0f94da56f01a
tree128ac24f4848b1b2999c535fb6e53424c0024b6b
parent6c2a66bfa816793fbdcede8854816d526c925574
Fix p0 initializer

Due to changes in the task_struct the following warning is occurs
when initializing the global p0.  Since this structure only exists
for it's address to be taken initialize it in a manor which isn't
sensitive to internal changes to the structure.

  module/spl/spl-generic.c:58:1: error: missing braces around
  initializer [-Werror=missing-braces]

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #576
module/spl/spl-generic.c