Blame view

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