1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _FS_CEPH_TYPES_H
3 #define _FS_CEPH_TYPES_H
5 /* needed before including ceph_fs.h */
7 #include <linux/types.h>
8 #include <linux/fcntl.h>
9 #include <linux/string.h>
11 #include <linux/ceph/ceph_fs.h>
12 #include <linux/ceph/ceph_frag.h>
13 #include <linux/ceph/ceph_hash.h>
16 * Identify inodes by both their ino AND snapshot id (a u64).
24 /* context for the caps reservation mechanism */
25 struct ceph_cap_reservation
{