kernel/fs/nilfs2/export.h
sevki c9e1dba412 chore(ci): setup github actions and workflows
setup CI/CD for kernel development
- added CodeQL for code scanning
- every pr is built as an image and is available for
  30days on https://oklinux.dev
- tagged and released on github for now

Signed-off-by: sevki <s@sevki.io>
2024-03-15 21:46:24 +00:00

27 lines
505 B
C

/* 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