Merge tag 'regmap-fix-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux/fpc-iii.git] / fs / btrfs / export.h
blobf32f4113c976a95a072a65e558810ebc561a2a51
1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef BTRFS_EXPORT_H
4 #define BTRFS_EXPORT_H
6 #include <linux/exportfs.h>
8 extern const struct export_operations btrfs_export_ops;
10 struct btrfs_fid {
11 u64 objectid;
12 u64 root_objectid;
13 u32 gen;
15 u64 parent_objectid;
16 u32 parent_gen;
18 u64 parent_root_objectid;
19 } __attribute__ ((packed));
21 struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
22 u64 root_objectid, u32 generation,
23 int check_generation);
24 struct dentry *btrfs_get_parent(struct dentry *child);
26 #endif