export.h 482 B

12345678910111213141516171819202122232425
  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