Ryusuke Konishi | 8e656fd | 2010-08-27 00:23:02 +0900 | [diff] [blame] | 1 | #ifndef NILFS_EXPORT_H |
| 2 | #define NILFS_EXPORT_H |
| 3 | |
| 4 | #include <linux/exportfs.h> |
| 5 | |
| 6 | extern const struct export_operations nilfs_export_ops; |
| 7 | |
Vyacheslav Dubeyko | f5974c8 | 2012-07-30 14:42:10 -0700 | [diff] [blame] | 8 | /** |
| 9 | * struct nilfs_fid - NILFS file id type |
| 10 | * @cno: checkpoint number |
| 11 | * @ino: inode number |
| 12 | * @gen: file generation (version) for NFS |
| 13 | * @parent_gen: parent generation (version) for NFS |
| 14 | * @parent_ino: parent inode number |
| 15 | */ |
Ryusuke Konishi | 8e656fd | 2010-08-27 00:23:02 +0900 | [diff] [blame] | 16 | struct nilfs_fid { |
| 17 | u64 cno; |
| 18 | u64 ino; |
| 19 | u32 gen; |
| 20 | |
| 21 | u32 parent_gen; |
| 22 | u64 parent_ino; |
Ryusuke Konishi | e7a142a | 2016-05-23 16:23:23 -0700 | [diff] [blame] | 23 | } __packed; |
Ryusuke Konishi | 8e656fd | 2010-08-27 00:23:02 +0900 | [diff] [blame] | 24 | |
| 25 | #endif |