Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef NILFS_EXPORT_H
0003 #define NILFS_EXPORT_H
0004 
0005 #include <linux/exportfs.h>
0006 
0007 extern const struct export_operations nilfs_export_ops;
0008 
0009 /**
0010  * struct nilfs_fid - NILFS file id type
0011  * @cno: checkpoint number
0012  * @ino: inode number
0013  * @gen: file generation (version) for NFS
0014  * @parent_gen: parent generation (version) for NFS
0015  * @parent_ino: parent inode number
0016  */
0017 struct nilfs_fid {
0018     u64 cno;
0019     u64 ino;
0020     u32 gen;
0021 
0022     u32 parent_gen;
0023     u64 parent_ino;
0024 } __packed;
0025 
0026 #endif