Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128914
b: refs/heads/master
c: 615f996
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and Chris Mason committed Sep 25, 2008
1 parent abe3321 commit 68faa31
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 115 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 76fcef19c40328499a2f6d59d76b72fd03d2cc82
refs/heads/master: 615f996fb8185a0bc02812ebd72cb77ded5645f1
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ifneq ($(KERNELRELEASE),)

obj-m := btrfs.o
btrfs-y := super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \
hash.o file-item.o inode-item.o inode-map.o disk-io.o \
file-item.o inode-item.o inode-map.o disk-io.o \
transaction.o bit-radix.o inode.o file.o tree-defrag.o \
extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \
extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \
Expand Down
112 changes: 0 additions & 112 deletions trunk/fs/btrfs/hash.c

This file was deleted.

7 changes: 6 additions & 1 deletion trunk/fs/btrfs/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@

#ifndef __HASH__
#define __HASH__
u64 btrfs_name_hash(const char *name, int len);

#include "crc32c.h"
static inline u64 btrfs_name_hash(const char *name, int len)
{
return btrfs_crc32c((u32)~1, name, len);
}
#endif

0 comments on commit 68faa31

Please sign in to comment.