hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/linux/fscache-cache.h
....@@ -1,16 +1,12 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* General filesystem caching backing cache interface
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
- *
117 * NOTE!!! See:
128 *
13
- * Documentation/filesystems/caching/backend-api.txt
9
+ * Documentation/filesystems/caching/backend-api.rst
1410 *
1511 * for a description of the cache backend interface declared here.
1612 */
....@@ -50,7 +46,7 @@
5046 unsigned long flags;
5147 #define FSCACHE_TAG_RESERVED 0 /* T if tag is reserved for a cache */
5248 atomic_t usage;
53
- char name[0]; /* tag name */
49
+ char name[]; /* tag name */
5450 };
5551
5652 /*
....@@ -458,7 +454,7 @@
458454 * Set the maximum size an object is permitted to reach, implying the highest
459455 * byte that may be written. Intended to be called by the attr_changed() op.
460456 *
461
- * See Documentation/filesystems/caching/backend-api.txt for a complete
457
+ * See Documentation/filesystems/caching/backend-api.rst for a complete
462458 * description.
463459 */
464460 static inline