export.h 505 B

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