summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/hash.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-15 12:57:43 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-15 12:57:43 -0400
commit24af03ea5e765d57860c975efcdcd41ec7f63fd9 (patch)
tree45e414fef09c15e49ad48659cbbf0858515aefbd /fs/btrfs/hash.h
parent62e2749e03a855d98855f9ce032dbe72d5fad148 (diff)
downloadop-kernel-dev-24af03ea5e765d57860c975efcdcd41ec7f63fd9.zip
op-kernel-dev-24af03ea5e765d57860c975efcdcd41ec7f63fd9.tar.gz
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 0000000..e56c467
--- /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
OpenPOWER on IntegriCloud