hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/fscache/cache.c
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /* FS-Cache cache handling
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 CACHE
....@@ -176,7 +172,7 @@
176172 *
177173 * Initialise a record of a cache and fill in the name.
178174 *
179
- * See Documentation/filesystems/caching/backend-api.txt for a complete
175
+ * See Documentation/filesystems/caching/backend-api.rst for a complete
180176 * description.
181177 */
182178 void fscache_init_cache(struct fscache_cache *cache,
....@@ -211,7 +207,7 @@
211207 *
212208 * Add a cache to the system, making it available for netfs's to use.
213209 *
214
- * See Documentation/filesystems/caching/backend-api.txt for a complete
210
+ * See Documentation/filesystems/caching/backend-api.rst for a complete
215211 * description.
216212 */
217213 int fscache_add_cache(struct fscache_cache *cache,
....@@ -311,7 +307,7 @@
311307 * Note that an I/O error occurred in a cache and that it should no longer be
312308 * used for anything. This also reports the error into the kernel log.
313309 *
314
- * See Documentation/filesystems/caching/backend-api.txt for a complete
310
+ * See Documentation/filesystems/caching/backend-api.rst for a complete
315311 * description.
316312 */
317313 void fscache_io_error(struct fscache_cache *cache)
....@@ -359,7 +355,7 @@
359355 * Withdraw a cache from service, unbinding all its cache objects from the
360356 * netfs cookies they're currently representing.
361357 *
362
- * See Documentation/filesystems/caching/backend-api.txt for a complete
358
+ * See Documentation/filesystems/caching/backend-api.rst for a complete
363359 * description.
364360 */
365361 void fscache_withdraw_cache(struct fscache_cache *cache)