]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
repair: reduce byte swap operations in scanfunc_allocbt
authorBarry Naujok <bnaujok@sgi.com>
Tue, 13 Oct 2009 22:29:23 +0000 (00:29 +0200)
committerhch@lst.de <Christoph Hellwig>
Tue, 13 Oct 2009 22:29:23 +0000 (00:29 +0200)
commit08382cf4b83133dd602c83daf8bbd50740bca4ac
tree6d6071edcde478c31fc53e0a1eb45d385e372120
parent64a0b0ab17202a4b9f227e6011bc141e50b0e0b6
repair: reduce byte swap operations in scanfunc_allocbt

Store native endian version of the extent startblock and length in
local variables instead of converting them over and over again.

Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
repair/scan.c