search for: btrfs_crc32c

Displaying 2 results from an estimated 2 matches for "btrfs_crc32c".

2009 Apr 19
4
[PATCH] btrfs: remove crc32c.h and use libcrc32c directly.
.... See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 021110-1307, USA. - */ - -#ifndef __BTRFS_CRC32C__ -#define __BTRFS_CRC32C__ -#include <linux/crc32c.h> - -/* - * this file used to do more for selecting the HW version of crc32c, - * perhaps it will one day again soon. - */ -#define btrfs_crc32c(seed, data, length) crc32c(seed, data, length) -#endif - diff --git a/fs/btrfs/disk-io.c b/fs/b...
2009 May 12
0
[PATCH 1/2] btrfs-progs: mixed back ref support
...table/crc32c.h 2008-09-30 16:50:58.898877720 +0800 +++ btrfs-progs-2/crc32c.h 2009-04-22 15:13:09.000000000 +0800 @@ -24,4 +24,5 @@ u32 crc32c_le(u32 seed, unsigned char const *data, size_t length); #define crc32c(seed, data, length) crc32c_le(seed, (unsigned char const *)data, length) +#define btrfs_crc32c crc32c #endif diff -urp btrfs-progs-unstable/ctree.c btrfs-progs-2/ctree.c --- btrfs-progs-unstable/ctree.c 2009-01-08 08:30:09.752081135 +0800 +++ btrfs-progs-2/ctree.c 2009-05-01 14:07:13.000000000 +0800 @@ -85,6 +85,7 @@ int btrfs_copy_root(struct btrfs_trans_h int ret = 0; int level; str...