aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/hash.h
diff options
context:
space:
mode:
authorGravatar Chris Mason <chris.mason@oracle.com> 2007-03-15 12:57:43 -0400
committerGravatar David Woodhouse <dwmw2@hera.kernel.org> 2007-03-15 12:57:43 -0400
commit24af03ea5e765d57860c975efcdcd41ec7f63fd9 (patch)
tree45e414fef09c15e49ad48659cbbf0858515aefbd /fs/btrfs/hash.h
parentBtrfs: Use a chunk of the key flags to record the item type. (diff)
downloadlinux-24af03ea5e765d57860c975efcdcd41ec7f63fd9.tar.gz
linux-24af03ea5e765d57860c975efcdcd41ec7f63fd9.tar.bz2
linux-24af03ea5e765d57860c975efcdcd41ec7f63fd9.zip
Btrfs: add hash.h
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/hash.h')
-rw-r--r--fs/btrfs/hash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/hash.h b/fs/btrfs/hash.h
new file mode 100644
index 000000000000..e56c4670093d
--- /dev/null
+++ b/fs/btrfs/hash.h
@@ -0,0 +1,4 @@
+#ifndef __HASH__
+#define __HASH__
+int btrfs_name_hash(const char *name, int len, u64 *hash_result);
+#endif