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