blob: 00107fdb93433dc0cf23e71a2d687589578fa3c0 [file] [log] [blame]
Ryusuke Konishi8e656fd2010-08-27 00:23:02 +09001#ifndef NILFS_EXPORT_H
2#define NILFS_EXPORT_H
3
4#include <linux/exportfs.h>
5
6extern const struct export_operations nilfs_export_ops;
7
Vyacheslav Dubeykof5974c82012-07-30 14:42:10 -07008/**
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 Konishi8e656fd2010-08-27 00:23:02 +090016struct nilfs_fid {
17 u64 cno;
18 u64 ino;
19 u32 gen;
20
21 u32 parent_gen;
22 u64 parent_ino;
Ryusuke Konishie7a142a2016-05-23 16:23:23 -070023} __packed;
Ryusuke Konishi8e656fd2010-08-27 00:23:02 +090024
25#endif