]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f465c0243e653abf5c1780c86de4ecefa2a2f1b
tree7a68180b6adeb74b5a0a96e6c2d4ad529b34096d
parenta608ba447614a59727dbc7eabd80bd4ee9e53347
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