#include <linux/fs.h>
#include <linux/types.h>
#include "ctree.h"
#include "disk-io.h"
#include "btrfs_inode.h"
#include "export.h"
#include "accessors.h"
#include "super.h"
#define BTRFS_FID_SIZE_NON_CONNECTABLE …
#define BTRFS_FID_SIZE_CONNECTABLE …
#define BTRFS_FID_SIZE_CONNECTABLE_ROOT …
static int btrfs_encode_fh(struct inode *inode, u32 *fh, int *max_len,
struct inode *parent)
{ … }
struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
u64 root_objectid, u64 generation)
{ … }
static struct dentry *btrfs_fh_to_parent(struct super_block *sb, struct fid *fh,
int fh_len, int fh_type)
{ … }
static struct dentry *btrfs_fh_to_dentry(struct super_block *sb, struct fid *fh,
int fh_len, int fh_type)
{ … }
struct dentry *btrfs_get_parent(struct dentry *child)
{ … }
static int btrfs_get_name(struct dentry *parent, char *name,
struct dentry *child)
{ … }
const struct export_operations btrfs_export_ops = …;