Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-4992 llite: validate names
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
libcfs_private.h
diff --git
a/libcfs/include/libcfs/libcfs_private.h
b/libcfs/include/libcfs/libcfs_private.h
index
ee5f1da
..
45c4565
100644
(file)
--- a/
libcfs/include/libcfs/libcfs_private.h
+++ b/
libcfs/include/libcfs/libcfs_private.h
@@
-534,7
+534,7
@@
int cfs_percpt_atomic_summary(atomic_t **refs);
* value after conversion...
*
*/
* value after conversion...
*
*/
-#define CLASSERT(cond) do {switch
(42) {case (cond): case 0: break;}
} while (0)
+#define CLASSERT(cond) do {switch
(1) {case (cond): case 0: break; }
} while (0)
/* support decl needed both by kernel and liblustre */
int libcfs_isknown_lnd(int type);
/* support decl needed both by kernel and liblustre */
int libcfs_isknown_lnd(int type);
@@
-662,15
+662,6
@@
do { \
ptr += cfs_size_round(len); \
} while (0)
ptr += cfs_size_round(len); \
} while (0)
-#define LOGL0(var,len,ptr) \
-do { \
- if (!len) \
- break; \
- memcpy((char *)ptr, (const char *)var, len); \
- *((char *)(ptr) + len) = 0; \
- ptr += cfs_size_round(len + 1); \
-} while (0)
-
/**
* Lustre Network Driver types.
*/
/**
* Lustre Network Driver types.
*/