summaryrefslogtreecommitdiff
path: root/kernel-lib
Commit message (Collapse)AuthorAge
* btrfs-progs: Introduce kernel sizes to cleanup large intermediate numberQu Wenruo2017-03-08
| | | | | | | | | | | Large numbers like (1024 * 1024 * 1024) may cost reader/reviewer to waste one second to convert to 1G. Introduce kernel include/linux/sizes.h to replace any intermediate number larger than 4096 (not including 4096) to SZ_*. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
* btrfs-progs: move bitops.h to kernel-libDavid Sterba2016-11-24
| | | | | | Forgotten when the rest got moved. Signed-off-by: David Sterba <dsterba@suse.com>
* btrfs-progs: crc32: use fallback implementation for unaligned buffersDavid Sterba2016-11-09
| | | | | | | | ASAN reports that at some point the crc function gets an unaligned buffer. It's the optimized intel version that casts char to ulong, the buffer is the embedded filename in the directory items. Signed-off-by: David Sterba <dsterba@suse.com>
* btrfs-progs: move 3rd party kernel library modules to own directoryDavid Sterba2016-10-03
Signed-off-by: David Sterba <dsterba@suse.com>