linux/fs/smb/server/glob.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 *   Copyright (C) 2016 Namjae Jeon <[email protected]>
 *   Copyright (C) 2018 Samsung Electronics Co., Ltd.
 */

#ifndef __KSMBD_GLOB_H
#define __KSMBD_GLOB_H

#include <linux/ctype.h>

#include "unicode.h"
#include "vfs_cache.h"

extern int ksmbd_debug_types;

#define KSMBD_DEBUG_SMB
#define KSMBD_DEBUG_AUTH
#define KSMBD_DEBUG_VFS
#define KSMBD_DEBUG_OPLOCK
#define KSMBD_DEBUG_IPC
#define KSMBD_DEBUG_CONN
#define KSMBD_DEBUG_RDMA
#define KSMBD_DEBUG_ALL

#ifdef pr_fmt
#undef pr_fmt
#endif

#ifdef SUBMOD_NAME
#define pr_fmt
#else
#define pr_fmt(fmt)
#endif

#define ksmbd_debug(type, fmt, ...)

#define UNICODE_LEN(x)

#endif /* __KSMBD_GLOB_H */