linux/fs/smb/client/smb2maperror.c

// SPDX-License-Identifier: LGPL-2.1
/*
 *
 *   Functions which do error mapping of SMB2 status codes to POSIX errors
 *
 *   Copyright (C) International Business Machines  Corp., 2009
 *   Author(s): Steve French ([email protected])
 *
 */
#include <linux/errno.h>
#include "cifsglob.h"
#include "cifs_debug.h"
#include "smb2pdu.h"
#include "smb2proto.h"
#include "smb2status.h"
#include "smb2glob.h"
#include "trace.h"

struct status_to_posix_error {};

static const struct status_to_posix_error smb2_error_map_table[] =;

/*****************************************************************************
 Print an error message from the status code
 *****************************************************************************/
static void
smb2_print_status(__le32 status)
{}

int
map_smb2_to_linux_error(char *buf, bool log_err)
{}