hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/fscache/cookie.c
....@@ -1,14 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* netfs cookie management
23 *
34 * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
56 *
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.
10
- *
11
- * See Documentation/filesystems/caching/netfs-api.txt for more information on
7
+ * See Documentation/filesystems/caching/netfs-api.rst for more information on
128 * the netfs API.
139 */
1410
....@@ -950,11 +946,3 @@
950946 return -ESTALE;
951947 }
952948 EXPORT_SYMBOL(__fscache_check_consistency);
953
-
954
-void __init fscache_cookie_init(void)
955
-{
956
- int i;
957
-
958
- for (i = 0; i < ARRAY_SIZE(fscache_cookie_hash); i++)
959
- INIT_HLIST_BL_HEAD(&fscache_cookie_hash[i]);
960
-}