Whamcloud - gitweb
b=16777 16776
authoryury <yury>
Fri, 19 Sep 2008 19:01:04 +0000 (19:01 +0000)
committeryury <yury>
Fri, 19 Sep 2008 19:01:04 +0000 (19:01 +0000)
r=shadow, adilger, vitaly, robert

- new clas_hash and using it for connections, held locks on server, etc

lustre/include/linux/lustre_compat25.h

index 398bb3e..b69ac48 100644 (file)
@@ -622,5 +622,10 @@ static inline long labs(long x)
 }
 #endif
 
+/* Using kernel fls(). Userspace will use one defined in user-bitops.h. */
+#ifndef __fls
+#define __fls fls
+#endif
+
 #endif /* __KERNEL__ */
 #endif /* _COMPAT25_H */