projects
/
deliverable
/
linux.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
|
blame
|
history
diff --git
a/fs/dlm/memory.c
b/fs/dlm/memory.c
index 48dfc27861f426174c4e06f4da6fedcda4e0b345..989b608fd83603dfc193f540c91fc452be4cabc9 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)
This page took
0.024688 seconds
and
5
git commands to generate.