summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/hash.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-15 17:57:43 +0100
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-15 17:57:43 +0100
commit24af03ea5e765d57860c975efcdcd41ec7f63fd9 (patch)
tree45e414fef09c15e49ad48659cbbf0858515aefbd /fs/btrfs/hash.h
parentBtrfs: Use a chunk of the key flags to record the item type. (diff)
downloadlinux-24af03ea5e765d57860c975efcdcd41ec7f63fd9.tar.xz
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