ocfs2/dlm: Fix printing of lockname
authorSunil Mushran <sunil.mushran@oracle.com>
Sat, 6 Feb 2010 01:55:56 +0000 (17:55 -0800)
committerJoel Becker <joel.becker@oracle.com>
Mon, 8 Feb 2010 21:01:31 +0000 (13:01 -0800)
commit86a06abab0ffbb9d8ce2b7f6b6652412ce2d2c36
treeb97ff4a3bc9b9010cb4dbacc1b557c2e2e5935e1
parentbd6b0bf87d8cf3d9cfeadeb12dbf5449e3e50765
ocfs2/dlm: Fix printing of lockname

The debug call printing the name of the lock resource was chopping
off the last character. This patch fixes the problem.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Acked-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dlm/dlmdebug.c