mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 14:04:05 +08:00
1151935182
The dlm receive buffer should be never manipulated as DLM is the last instance of parsing layer. This patch constify the whole receive buffer so we are sure it never gets manipulated when it's being parsed. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
22 lines
747 B
C
22 lines
747 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/******************************************************************************
|
|
*******************************************************************************
|
|
**
|
|
** Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved.
|
|
**
|
|
**
|
|
*******************************************************************************
|
|
******************************************************************************/
|
|
|
|
#ifndef __REQUESTQUEUE_DOT_H__
|
|
#define __REQUESTQUEUE_DOT_H__
|
|
|
|
void dlm_add_requestqueue(struct dlm_ls *ls, int nodeid,
|
|
const struct dlm_message *ms);
|
|
int dlm_process_requestqueue(struct dlm_ls *ls);
|
|
void dlm_wait_requestqueue(struct dlm_ls *ls);
|
|
void dlm_purge_requestqueue(struct dlm_ls *ls);
|
|
|
|
#endif
|
|
|