0001
0002
0003 #ifndef BTRFS_EXPORT_H
0004 #define BTRFS_EXPORT_H
0005
0006 #include <linux/exportfs.h>
0007
0008 extern const struct export_operations btrfs_export_ops;
0009
0010 struct btrfs_fid {
0011 u64 objectid;
0012 u64 root_objectid;
0013 u32 gen;
0014
0015 u64 parent_objectid;
0016 u32 parent_gen;
0017
0018 u64 parent_root_objectid;
0019 } __attribute__ ((packed));
0020
0021 struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
0022 u64 root_objectid, u32 generation,
0023 int check_generation);
0024 struct dentry *btrfs_get_parent(struct dentry *child);
0025
0026 #endif