| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* General filesystem caching backing cache interface |
|---|
| 2 | 3 | * |
|---|
| 3 | 4 | * Copyright (C) 2004-2007 Red Hat, Inc. All Rights Reserved. |
|---|
| 4 | 5 | * Written by David Howells (dhowells@redhat.com) |
|---|
| 5 | 6 | * |
|---|
| 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 | 7 | * NOTE!!! See: |
|---|
| 12 | 8 | * |
|---|
| 13 | | - * Documentation/filesystems/caching/backend-api.txt |
|---|
| 9 | + * Documentation/filesystems/caching/backend-api.rst |
|---|
| 14 | 10 | * |
|---|
| 15 | 11 | * for a description of the cache backend interface declared here. |
|---|
| 16 | 12 | */ |
|---|
| .. | .. |
|---|
| 50 | 46 | unsigned long flags; |
|---|
| 51 | 47 | #define FSCACHE_TAG_RESERVED 0 /* T if tag is reserved for a cache */ |
|---|
| 52 | 48 | atomic_t usage; |
|---|
| 53 | | - char name[0]; /* tag name */ |
|---|
| 49 | + char name[]; /* tag name */ |
|---|
| 54 | 50 | }; |
|---|
| 55 | 51 | |
|---|
| 56 | 52 | /* |
|---|
| .. | .. |
|---|
| 458 | 454 | * Set the maximum size an object is permitted to reach, implying the highest |
|---|
| 459 | 455 | * byte that may be written. Intended to be called by the attr_changed() op. |
|---|
| 460 | 456 | * |
|---|
| 461 | | - * See Documentation/filesystems/caching/backend-api.txt for a complete |
|---|
| 457 | + * See Documentation/filesystems/caching/backend-api.rst for a complete |
|---|
| 462 | 458 | * description. |
|---|
| 463 | 459 | */ |
|---|
| 464 | 460 | static inline |
|---|