]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - fs/debugfs/internal.h
debugfs: prevent access to possibly dead file_operations at file open
[mirror_ubuntu-hirsute-kernel.git] / fs / debugfs / internal.h
CommitLineData
9fd4dcec
NS
1/*
2 * internal.h - declarations internal to debugfs
3 *
4 * Copyright (C) 2016 Nicolai Stange <nicstange@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License version
8 * 2 as published by the Free Software Foundation.
9 *
10 */
11
12#ifndef _DEBUGFS_INTERNAL_H_
13#define _DEBUGFS_INTERNAL_H_
14
15struct file_operations;
16struct srcu_struct;
17
18/* declared over in file.c */
19extern const struct file_operations debugfs_noop_file_operations;
20extern const struct file_operations debugfs_open_proxy_file_operations;
21
22extern struct srcu_struct debugfs_srcu;
23
24#endif /* _DEBUGFS_INTERNAL_H_ */