Skip to content

Commit

Permalink
Fix fletcher_2_byteswap
Browse files Browse the repository at this point in the history
Fix a typo which cause fletcher_2_byteswap to do fletcher_4_byteswap

Signed-off-by: Chunwei Chen <tuxoko@gmail.com>
  • Loading branch information
tuxoko committed Apr 2, 2014
1 parent 85f5ea5 commit b003f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zcommon/zfs_fletcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ void
fletcher_2_byteswap(const void *buf, uint64_t size, zio_cksum_t *zcp)
{
fletcher_2_byteswap_init(zcp);
fletcher_4_incremental_byteswap(buf, size, zcp);
fletcher_2_incremental_byteswap(buf, size, zcp);
}

int
Expand Down

0 comments on commit b003f01

Please sign in to comment.