Files
Centos-kernel-stream-9/include/linux/ns_common.h
T
Waiman Long 08635edde2 nsfs: convert to path_from_stashed() helper
JIRA: https://issues.redhat.com/browse/RHEL-107520

commit 1fa08aece42512be072351f482096d5796edf7ca
Author: Christian Brauner <brauner@kernel.org>
Date:   Sun, 18 Feb 2024 14:51:23 +0100

    nsfs: convert to path_from_stashed() helper

    Use the newly added path_from_stashed() helper for nsfs.

    Link: https://lore.kernel.org/r/20240218-neufahrzeuge-brauhaus-fb0eb6459771@brauner
    Signed-off-by: Christian Brauner <brauner@kernel.org>

Signed-off-by: Waiman Long <longman@redhat.com>
2025-08-22 14:40:41 -04:00

17 lines
284 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_NS_COMMON_H
#define _LINUX_NS_COMMON_H
#include <linux/refcount.h>
struct proc_ns_operations;
struct ns_common {
struct dentry *stashed;
const struct proc_ns_operations *ops;
unsigned int inum;
refcount_t count;
};
#endif