summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/hash.c b/fs/btrfs/hash.c
index d5252f5c9d01..21037cfca9bd 100644
--- a/fs/btrfs/hash.c
+++ b/fs/btrfs/hash.c
@@ -81,7 +81,7 @@ u64 btrfs_name_hash(const char *name, int len)
__u32 hash;
__u32 minor_hash = 0;
const char *p;
- __u32 in[8], buf[2];
+ __u32 in[8], buf[4];
u64 hash_result;
if (len == 1 && *name == '.') {