summaryrefslogtreecommitdiff
path: root/fs/btrfs/export.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/export.h')
-rw-r--r--fs/btrfs/export.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fs/btrfs/export.h b/fs/btrfs/export.h
index 074348a95841..464582273af9 100644
--- a/fs/btrfs/export.h
+++ b/fs/btrfs/export.h
@@ -1,7 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
#ifndef BTRFS_EXPORT_H
#define BTRFS_EXPORT_H
#include <linux/exportfs.h>
+#include <linux/types.h>
+
+struct dentry;
+struct super_block;
extern const struct export_operations btrfs_export_ops;
@@ -16,4 +22,8 @@ struct btrfs_fid {
u64 parent_root_objectid;
} __attribute__ ((packed));
+struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
+ u64 root_objectid, u64 generation);
+struct dentry *btrfs_get_parent(struct dentry *child);
+
#endif