]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
debugfs: don't swap htree nodes in-place
authorEric Sandeen <sandeen@redhat.com>
Tue, 4 Nov 2014 16:26:21 +0000 (11:26 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Nov 2014 16:26:21 +0000 (11:26 -0500)
commit77b493e35bbde38c796844abe15fdb53173989ea
tree5d60416aa4eb827f338c4060b288e2f55aec451e
parent1224c0d3ea3dd278f5f4e48fa024e0cdb5e656b1
debugfs: don't swap htree nodes in-place

htree_dump_int_node() was swapping htree nodes in-place,
something not done elsewhere, so it made the sparse checker
unhappy.  Just use dedicated variables to hold the 2 needed
(endian-swapped) values.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/htree.c