Whamcloud - gitweb
LU-3544 fid: do open-by-fid by default
[fs/lustre-release.git] / lustre / include / lustre_lite.h
index 4a88dd4..eddeded 100644 (file)
@@ -53,9 +53,7 @@
 #endif
 
 #include <obd_class.h>
-#include <obd_ost.h>
 #include <lustre_net.h>
-#include <lustre_mds.h>
 #include <lustre_ha.h>
 
 /* 4UL * 1024 * 1024 */
@@ -143,15 +141,6 @@ static inline void ll_dir_chain_fini(struct ll_dir_chain *chain)
 {
 }
 
-static inline unsigned long hash_x_index(__u64 hash, int hash64)
-{
-#ifdef __KERNEL__
-        if (BITS_PER_LONG == 32 && hash64)
-                hash >>= 32;
-#endif
-        return ~0UL - hash;
-}
-
 /** @} lite */
 
 #endif