hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/fs/ceph/cache.h
....@@ -1,24 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Ceph cache definitions.
34 *
45 * Copyright (C) 2013 by Adfin Solutions, Inc. All Rights Reserved.
56 * 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
- *
227 */
238
249 #ifndef _CEPH_CACHE_H
....@@ -31,7 +16,7 @@
3116 int ceph_fscache_register(void);
3217 void ceph_fscache_unregister(void);
3318
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);
3520 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc);
3621
3722 void ceph_fscache_register_inode_cookie(struct inode *inode);
....@@ -103,7 +88,8 @@
10388 {
10489 }
10590
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)
10793 {
10894 return 0;
10995 }