Skip to content
Commit 140dfd00 authored by Alex Chiang's avatar Alex Chiang Committed by Chris Mason
Browse files

btrfs-progs: Stop stomping on 'name' input parameter



In btrfs_name_hash, Local variable 'buf' is declared as

	__u32 buf[2];

but we then try to do this:

	buf[0] = 0x67452301;
	buf[1] = 0xefcdab89;
	buf[2] = 0x98badcfe;
	buf[3] = 0x10325476;

Oops. Fix buf to be the proper size.

Signed-off-by: default avatarAlex Chiang <achiang@hp.com>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 2b114d1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment