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
b=22079 Moving definition of cfs_trace_buf_type_t back to linux-tracefile.h
[fs/lustre-release.git]
/
lnet
/
utils
/
debug.c
diff --git
a/lnet/utils/debug.c
b/lnet/utils/debug.c
index
ca17a3d
..
bcd7099
100644
(file)
--- a/
lnet/utils/debug.c
+++ b/
lnet/utils/debug.c
@@
-457,7
+457,7
@@
static int parse_buffer(int fdin, int fdout)
goto readhdr;
if (hdr->ph_len > 4094 || /* is this header bogus? */
- hdr->ph_type >=
CFS_TCD_TYPE_MAX
||
+ hdr->ph_type >=
libcfs_tcd_type_max()
||
hdr->ph_stack > 65536 ||
hdr->ph_sec < (1 << 30) ||
hdr->ph_usec > 1000000000 ||