1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 28e656fd5SRyusuke Konishi #ifndef NILFS_EXPORT_H 38e656fd5SRyusuke Konishi #define NILFS_EXPORT_H 48e656fd5SRyusuke Konishi 58e656fd5SRyusuke Konishi #include <linux/exportfs.h> 68e656fd5SRyusuke Konishi 78e656fd5SRyusuke Konishi extern const struct export_operations nilfs_export_ops; 88e656fd5SRyusuke Konishi 9f5974c8fSVyacheslav Dubeyko /** 10f5974c8fSVyacheslav Dubeyko * struct nilfs_fid - NILFS file id type 11f5974c8fSVyacheslav Dubeyko * @cno: checkpoint number 12f5974c8fSVyacheslav Dubeyko * @ino: inode number 13f5974c8fSVyacheslav Dubeyko * @gen: file generation (version) for NFS 14f5974c8fSVyacheslav Dubeyko * @parent_gen: parent generation (version) for NFS 15f5974c8fSVyacheslav Dubeyko * @parent_ino: parent inode number 16f5974c8fSVyacheslav Dubeyko */ 178e656fd5SRyusuke Konishi struct nilfs_fid { 188e656fd5SRyusuke Konishi u64 cno; 198e656fd5SRyusuke Konishi u64 ino; 208e656fd5SRyusuke Konishi u32 gen; 218e656fd5SRyusuke Konishi 228e656fd5SRyusuke Konishi u32 parent_gen; 238e656fd5SRyusuke Konishi u64 parent_ino; 24e7a142aaSRyusuke Konishi } __packed; 258e656fd5SRyusuke Konishi 268e656fd5SRyusuke Konishi #endif 27