forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
kernel/fs/fscache/internal.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* Internal definitions for FS-Cache
23 *
34 * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.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
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the License, or (at your option) any later version.
106 */
117
128 /*
....@@ -99,7 +95,6 @@
9995 extern struct kobject *fscache_root;
10096 extern struct workqueue_struct *fscache_object_wq;
10197 extern struct workqueue_struct *fscache_op_wq;
102
-DECLARE_PER_CPU(wait_queue_head_t, fscache_object_cong_wait);
10398
10499 extern unsigned int fscache_hash(unsigned int salt, unsigned int *data, unsigned int n);
105100
....@@ -117,7 +112,7 @@
117112 * object-list.c
118113 */
119114 #ifdef CONFIG_FSCACHE_OBJECT_LIST
120
-extern const struct file_operations fscache_objlist_fops;
115
+extern const struct proc_ops fscache_objlist_proc_ops;
121116
122117 extern void fscache_objlist_add(struct fscache_object *);
123118 extern void fscache_objlist_remove(struct fscache_object *);