Fix dnode_move() scope
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 27 Aug 2010 17:55:07 +0000 (10:55 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 31 Aug 2010 15:38:47 +0000 (08:38 -0700)
commit5ac1241a9527df92f6631459127d8b2a985a8f29
tree33b2987543b0f2434fa3f30489fadc099b409d7b
parent1e33ac1e2677c898a0b5ef6207048c692cb51bf4
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.
module/zfs/dnode.c