aboutsummaryrefslogtreecommitdiffstats
path: root/crc32c.c
Commit message (Collapse)AuthorAgeFilesLines
* btrfs-progs: make many private symbols staticZach Brown2013-09-031-2/+2
| | | | | | Signed-off-by: Zach Brown <zab@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
* Btrfs-progs: fix several complie warningMiao Xie2012-10-041-2/+2
| | | | | | | | | | | | | | This patch fixed the following warning: cmds-send.c:464:6: warning: ‘ret' may be used uninitialized in this function [-Wuninitialized] crc32c.c:121:1: warning: control reaches end of non-void function [-Wreturn-type] send-utils.c:69:11: warning: ‘comp' may be used uninitialized in this function [-Wuninitialized] send-utils.c:126:6: warning: ‘comp' may be used uninitialized in this function [-Wuninitialized] send-utils.c:99:22: warning: ‘entry' may be used uninitialized in this function [-Wuninitialized] btrfs.c:261:2: warning: implicit declaration of function ‘crc32c_optimization_init' [-Wimplicit-function-declaration] btrfs.c:105:2: warning: ‘cmd' may be used uninitialized in this function [-Wuninitialized] restore.c:435:12: warning: ignoring return value of ‘ftruncate', declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
* Use intel hardware crc32c where availableChris Mason2012-07-261-2/+123
| | | | Signed-off-by: Chris Mason <chris.mason@fusionio.com>
* CRC32C big endian bugs...v0.13David Miller2008-02-151-4/+2
| | | | | The CRC32C implementation in the btrfs progs is different from the one in the kernel, so obviously nothing can possibly work on big-endian.
* calculate checksums during IOv0.5Josef Bacik2007-06-281-0/+103