types.h 452 B

12345678910111213141516171819202122232425262728
  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 "ceph_fs.h"
  9. #include "ceph_frag.h"
  10. /*
  11. * Identify inodes by both their ino AND snapshot id (a u64).
  12. */
  13. struct ceph_vino {
  14. u64 ino;
  15. u64 snap;
  16. };
  17. /* context for the caps reservation mechanism */
  18. struct ceph_cap_reservation {
  19. int count;
  20. };
  21. #endif