[DLM] break from snprintf loop
authorDavid Teigland <teigland@redhat.com>
Tue, 8 Aug 2006 16:31:30 +0000 (11:31 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 9 Aug 2006 13:46:04 +0000 (09:46 -0400)
commit06442440bc442ef79cb060c6e786eaeeabd9044b
treed4744898d6121ecbb709b99c77ee84d08c941061
parentf6db1b8e724b071d144055b48da3827ce26dba1c
[DLM] break from snprintf loop

When the debug buffer has filled up, break from the loop and return the
correct number of bytes that have been written.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/debug_fs.c