Whamcloud - gitweb
LU-1477 kernel: Kernel update [RHEL6.3 2.6.32-279.2.1.el6]
[fs/lustre-release.git] / lustre / include / linux / obd_class.h
index b2f2474..8cc4fc8 100644 (file)
 #include <linux/timer.h>
 #endif
 
-#ifdef __KERNEL__
-# ifndef HAVE_SERVER_SUPPORT
-
-/* hash info structure used by the directory hash */
-#  define LDISKFS_DX_HASH_LEGACY        0
-#  define LDISKFS_DX_HASH_HALF_MD4      1
-#  define LDISKFS_DX_HASH_TEA           2
-#  define LDISKFS_DX_HASH_R5            3
-#  define LDISKFS_DX_HASH_SAME          4
-#  define LDISKFS_DX_HASH_MAX           4
-
-/* hash info structure used by the directory hash */
-struct ldiskfs_dx_hash_info
-{
-        u32     hash;
-        u32     minor_hash;
-        int     hash_version;
-        u32     *seed;
-};
-
-#  define LDISKFS_HTREE_EOF     0x7fffffff
-
-int ldiskfsfs_dirhash(const char *name, int len, struct ldiskfs_dx_hash_info *hinfo);
-
-# endif /* HAVE_SERVER_SUPPORT */
-#endif /* __KERNEL__ */
-
 /* obdo.c */
 #ifdef __KERNEL__
 void obdo_from_la(struct obdo *dst, struct lu_attr *la, __u64 valid);