summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/export.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-01-06 09:17:51 -0500
committerChris Mason <chris.mason@oracle.com>2009-01-06 09:17:51 -0500
commit860a7a0c321ce0267fdb6ebdcd03aa63c5fcb31d (patch)
tree55f3e8e388c5836e42489e1114af6200bf6366a9 /fs/btrfs/export.h
parent4a6908a3a050aacc9c3a2f36b276b46c0629ad91 (diff)
parent43b774ba1378dc5e952aadb829048bbe90ba33e4 (diff)
downloadlinux-860a7a0c321ce0267fdb6ebdcd03aa63c5fcb31d.tar.gz
linux-860a7a0c321ce0267fdb6ebdcd03aa63c5fcb31d.tar.bz2
linux-860a7a0c321ce0267fdb6ebdcd03aa63c5fcb31d.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable
Diffstat (limited to 'fs/btrfs/export.h')
-rw-r--r--fs/btrfs/export.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/fs/btrfs/export.h b/fs/btrfs/export.h
new file mode 100644
index 000000000000..074348a95841
--- /dev/null
+++ b/fs/btrfs/export.h
@@ -0,0 +1,19 @@
+#ifndef BTRFS_EXPORT_H
+#define BTRFS_EXPORT_H
+
+#include <linux/exportfs.h>
+
+extern const struct export_operations btrfs_export_ops;
+
+struct btrfs_fid {
+ u64 objectid;
+ u64 root_objectid;
+ u32 gen;
+
+ u64 parent_objectid;
+ u32 parent_gen;
+
+ u64 parent_root_objectid;
+} __attribute__ ((packed));
+
+#endif