types.h 508 B

1234567891011121314151617181920212223242526272829
  1. #ifndef _FS_CEPH_TYPES_H
  2. #define _FS_CEPH_TYPES_H
  3. /* needed before including ceph_fs.h */
  4. #include <linux/in.h>
  5. #include <linux/types.h>
  6. #include <linux/fcntl.h>
  7. #include <linux/string.h>
  8. #include <linux/ceph/ceph_fs.h>
  9. #include <linux/ceph/ceph_frag.h>
  10. #include <linux/ceph/ceph_hash.h>
  11. /*
  12. * Identify inodes by both their ino AND snapshot id (a u64).
  13. */
  14. struct ceph_vino {
  15. u64 ino;
  16. u64 snap;
  17. };
  18. /* context for the caps reservation mechanism */
  19. struct ceph_cap_reservation {
  20. int count;
  21. };
  22. #endif