.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Ceph cache definitions. |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2013 by Adfin Solutions, Inc. All Rights Reserved. |
---|
5 | 6 | * Written by Milosz Tanski (milosz@adfin.com) |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of the GNU General Public License version 2 |
---|
9 | | - * as published by the Free Software Foundation. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, |
---|
12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | | - * GNU General Public License for more details. |
---|
15 | | - * |
---|
16 | | - * You should have received a copy of the GNU General Public License |
---|
17 | | - * along with this program; if not, write to: |
---|
18 | | - * Free Software Foundation |
---|
19 | | - * 51 Franklin Street, Fifth Floor |
---|
20 | | - * Boston, MA 02111-1301 USA |
---|
21 | | - * |
---|
22 | 7 | */ |
---|
23 | 8 | |
---|
24 | 9 | #ifndef _CEPH_CACHE_H |
---|
.. | .. |
---|
31 | 16 | int ceph_fscache_register(void); |
---|
32 | 17 | void ceph_fscache_unregister(void); |
---|
33 | 18 | |
---|
34 | | -int ceph_fscache_register_fs(struct ceph_fs_client* fsc); |
---|
| 19 | +int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc); |
---|
35 | 20 | void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc); |
---|
36 | 21 | |
---|
37 | 22 | void ceph_fscache_register_inode_cookie(struct inode *inode); |
---|
.. | .. |
---|
103 | 88 | { |
---|
104 | 89 | } |
---|
105 | 90 | |
---|
106 | | -static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc) |
---|
| 91 | +static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc, |
---|
| 92 | + struct fs_context *fc) |
---|
107 | 93 | { |
---|
108 | 94 | return 0; |
---|
109 | 95 | } |
---|