hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/fscache/proc.c
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* FS-Cache statistics viewing interface
23 *
34 * Copyright (C) 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 #define FSCACHE_DEBUG_LEVEL OPERATION
....@@ -39,7 +35,7 @@
3935
4036 #ifdef CONFIG_FSCACHE_OBJECT_LIST
4137 if (!proc_create("fs/fscache/objects", S_IFREG | 0444, NULL,
42
- &fscache_objlist_fops))
38
+ &fscache_objlist_proc_ops))
4339 goto error_objects;
4440 #endif
4541