]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/dmu_traverse.c
Align code with Illumos
authorChris Dunlop <chris@onthe.net.au>
Fri, 27 Mar 2015 04:04:12 +0000 (15:04 +1100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 27 Mar 2015 21:52:45 +0000 (14:52 -0700)
commitee2f17aa2af3d8620470c3bbbe6f9dac9449d546
treee68634d9f3e2f11713f716befe615801c26eb61b
parenta4069eef2e403a3b2a307b23b7500e2adc6ecae5
Align code with Illumos

Align code in traverse_visitbp() with that in Illumos in preparation for
applying Illumos-5694.

No functional change: use a temporary variable pd to replace multiple
occurrences of td->td_pfd.  This increases our stack use slightly more
then normal because the function is called recursively.

Signed-off-by: Chris Dunlop <chris@onthe.net.au>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #3230
module/zfs/dmu_traverse.c