| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* netfs cookie management |
|---|
| 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 | | - * See Documentation/filesystems/caching/netfs-api.txt for more information on |
|---|
| 7 | + * See Documentation/filesystems/caching/netfs-api.rst for more information on |
|---|
| 12 | 8 | * the netfs API. |
|---|
| 13 | 9 | */ |
|---|
| 14 | 10 | |
|---|
| .. | .. |
|---|
| 950 | 946 | return -ESTALE; |
|---|
| 951 | 947 | } |
|---|
| 952 | 948 | 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 | | -} |
|---|