Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _FS_CEPH_TYPES_H
0003 #define _FS_CEPH_TYPES_H
0004 
0005 /* needed before including ceph_fs.h */
0006 #include <linux/in.h>
0007 #include <linux/types.h>
0008 #include <linux/fcntl.h>
0009 #include <linux/string.h>
0010 
0011 #include <linux/ceph/ceph_fs.h>
0012 #include <linux/ceph/ceph_frag.h>
0013 #include <linux/ceph/ceph_hash.h>
0014 
0015 /*
0016  * Identify inodes by both their ino AND snapshot id (a u64).
0017  */
0018 struct ceph_vino {
0019     u64 ino;
0020     u64 snap;
0021 };
0022 
0023 
0024 /* context for the caps reservation mechanism */
0025 struct ceph_cap_reservation {
0026     int count;
0027     int used;
0028 };
0029 
0030 
0031 #endif