git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f438714
)
[DLM] print bad length in assertion
author
David Teigland
<teigland@redhat.com>
Tue, 8 Aug 2006 22:03:30 +0000
(17:03 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Wed, 9 Aug 2006 13:44:54 +0000
(09:44 -0400)
Print the violating name length in the assertion.
Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/memory.c
patch
|
blob
|
history
diff --git
a/fs/dlm/memory.c
b/fs/dlm/memory.c
index
48dfc27
..
989b608
100644
(file)
--- a/
fs/dlm/memory.c
+++ b/
fs/dlm/memory.c
@@
-100,7
+100,8
@@
struct dlm_direntry *allocate_direntry(struct dlm_ls *ls, int namelen)
{
struct dlm_direntry *de;
- DLM_ASSERT(namelen <= DLM_RESNAME_MAXLEN,);
+ DLM_ASSERT(namelen <= DLM_RESNAME_MAXLEN,
+ printk("namelen = %d\n", namelen););
de = kmalloc(sizeof(*de) + namelen, GFP_KERNEL);
if (de)