export.h 482 B

1234567891011121314151617181920212223242526
  1. #ifndef NILFS_EXPORT_H
  2. #define NILFS_EXPORT_H
  3. #include <linux/exportfs.h>
  4. extern const struct export_operations nilfs_export_ops;
  5. /**
  6. * struct nilfs_fid - NILFS file id type
  7. * @cno: checkpoint number
  8. * @ino: inode number
  9. * @gen: file generation (version) for NFS
  10. * @parent_gen: parent generation (version) for NFS
  11. * @parent_ino: parent inode number
  12. */
  13. struct nilfs_fid {
  14. u64 cno;
  15. u64 ino;
  16. u32 gen;
  17. u32 parent_gen;
  18. u64 parent_ino;
  19. } __attribute__ ((packed));
  20. #endif