mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
![Ryusuke Konishi](/assets/img/avatar_default.png)
The previous export operations cannot handle multiple versions of a filesystem if they belong to the same sb instance. This adds a new type of file handle and extends export operations so that they can get the inode specified by a checkpoint number as well as an inode number and a generation number. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
17 lines
253 B
C
17 lines
253 B
C
#ifndef NILFS_EXPORT_H
|
|
#define NILFS_EXPORT_H
|
|
|
|
#include <linux/exportfs.h>
|
|
|
|
extern const struct export_operations nilfs_export_ops;
|
|
|
|
struct nilfs_fid {
|
|
u64 cno;
|
|
u64 ino;
|
|
u32 gen;
|
|
|
|
u32 parent_gen;
|
|
u64 parent_ino;
|
|
} __attribute__ ((packed));
|
|
|
|
#endif
|