ocfs2: Allow binary names in the DLM
authorMark Fasheh <mark.fasheh@oracle.com>
Fri, 8 Sep 2006 18:38:29 +0000 (11:38 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Sun, 24 Sep 2006 20:50:42 +0000 (13:50 -0700)
commit3384f3df5ed939a25135e1b2734fb7cdee1720a8
tree7a68180b6adeb74b5a0a96e6c2d4ad529b34096d
parente2c73698af3dac89328eef2b55f6746e0507d2bc
ocfs2: Allow binary names in the DLM

The OCFS2 DLM uses strlen() to determine lock name length, which excludes
the possibility of putting binary values in the name string. Fix this by
requiring that string length be passed in as a parameter.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmapi.h
fs/ocfs2/dlm/dlmcommon.h
fs/ocfs2/dlm/dlmlock.c
fs/ocfs2/dlm/dlmmaster.c
fs/ocfs2/dlm/dlmrecovery.c