Sage Weil | de57606 | 2009-10-06 11:31:07 -0700 | [diff] [blame] | 1 | #ifndef _FS_CEPH_TYPES_H |
| 2 | #define _FS_CEPH_TYPES_H |
| 3 | |
| 4 | /* needed before including ceph_fs.h */ |
| 5 | #include <linux/in.h> |
| 6 | #include <linux/types.h> |
| 7 | #include <linux/fcntl.h> |
| 8 | #include <linux/string.h> |
| 9 | |
David Howells | a1ce392 | 2012-10-02 18:01:25 +0100 | [diff] [blame] | 10 | #include <linux/ceph/ceph_fs.h> |
| 11 | #include <linux/ceph/ceph_frag.h> |
| 12 | #include <linux/ceph/ceph_hash.h> |
Sage Weil | de57606 | 2009-10-06 11:31:07 -0700 | [diff] [blame] | 13 | |
| 14 | /* |
| 15 | * Identify inodes by both their ino AND snapshot id (a u64). |
| 16 | */ |
| 17 | struct ceph_vino { |
| 18 | u64 ino; |
| 19 | u64 snap; |
| 20 | }; |
| 21 | |
| 22 | |
| 23 | /* context for the caps reservation mechanism */ |
| 24 | struct ceph_cap_reservation { |
| 25 | int count; |
| 26 | }; |
| 27 | |
| 28 | |
| 29 | #endif |