btrfs: move btrfs_extref_hash into inode-item.h
[linux-2.6-block.git] / fs / btrfs / ctree.h
index bffee2ab5783689a0ca8c23855f061255db563e8..7b8e52fd6d991649ab251e351149f035c725d3bf 100644 (file)
@@ -475,15 +475,6 @@ static inline u64 btrfs_name_hash(const char *name, int len)
        return crc32c((u32)~1, name, len);
 }
 
-/*
- * Figure the key offset of an extended inode ref
- */
-static inline u64 btrfs_extref_hash(u64 parent_objectid, const char *name,
-                                   int len)
-{
-       return (u64) crc32c(parent_objectid, name, len);
-}
-
 static inline gfp_t btrfs_alloc_write_mask(struct address_space *mapping)
 {
        return mapping_gfp_constraint(mapping, ~__GFP_FS);