firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-fs_debugfs_internal.h...

15 lines
574 B
Diff

diff -drupN a/fs/debugfs/internal.h b/fs/debugfs/internal.h
--- a/fs/debugfs/internal.h 2018-08-06 17:23:04.000000000 +0300
+++ b/fs/debugfs/internal.h 2022-06-12 05:28:14.000000000 +0300
@@ -19,4 +19,10 @@ extern const struct file_operations debu
extern const struct file_operations debugfs_open_proxy_file_operations;
extern const struct file_operations debugfs_full_proxy_file_operations;
+struct debugfs_fsdata {
+ const struct file_operations *real_fops;
+ refcount_t active_users;
+ struct completion active_users_drained;
+};
+
#endif /* _DEBUGFS_INTERNAL_H_ */