HomeFreeBSD

Fix dnode_move() scope

Description

Fix dnode_move() scope

The dnode_move() functionality is only used in the kernel build.
As such we should be careful to wrap all of the related code
with '#ifdef _KERNEL' to avoid gcc warnings about unused code.

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Aug 27 2010, 5:55 PM
Parents
rG1e33ac1e2677: Fix Solaris thread dependency by using pthreads
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG5ac1241a9527: Fix dnode_move() scope (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Aug 31 2010, 3:38 PM