linux/fs/dlm/util.c

// SPDX-License-Identifier: GPL-2.0-only
/******************************************************************************
*******************************************************************************
**
**  Copyright (C) 2005-2008 Red Hat, Inc.  All rights reserved.
**
**
*******************************************************************************
******************************************************************************/

#include "dlm_internal.h"
#include "rcom.h"
#include "util.h"

#define DLM_ERRNO_EDEADLK
#define DLM_ERRNO_EBADR
#define DLM_ERRNO_EBADSLT
#define DLM_ERRNO_EPROTO
#define DLM_ERRNO_EOPNOTSUPP
#define DLM_ERRNO_ETIMEDOUT
#define DLM_ERRNO_EINPROGRESS

/* higher errno values are inconsistent across architectures, so select
   one set of values for on the wire */

int to_dlm_errno(int err)
{}

int from_dlm_errno(int err)
{}