linux/fs/btrfs/rcu-string.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2012 Red Hat.  All rights reserved.
 */

#ifndef BTRFS_RCU_STRING_H
#define BTRFS_RCU_STRING_H

#include <linux/types.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/rcupdate.h>
#include <linux/printk.h>

struct rcu_string {};

static inline struct rcu_string *rcu_string_strdup(const char *src, gfp_t mask)
{}

static inline void rcu_string_free(struct rcu_string *str)
{}

#define printk_in_rcu(fmt, ...)

#define printk_ratelimited_in_rcu(fmt, ...)

#define rcu_str_deref(rcu_str)

#endif