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