mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / fs / btrfs / export.h
blob15db024621414efab3eca2f04b581bd37eae898b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef BTRFS_EXPORT_H
3 #define BTRFS_EXPORT_H
5 #include <linux/exportfs.h>
7 extern const struct export_operations btrfs_export_ops;
9 struct btrfs_fid {
10 u64 objectid;
11 u64 root_objectid;
12 u32 gen;
14 u64 parent_objectid;
15 u32 parent_gen;
17 u64 parent_root_objectid;
18 } __attribute__ ((packed));
20 struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
21 u64 root_objectid, u32 generation,
22 int check_generation);
23 struct dentry *btrfs_get_parent(struct dentry *child);
25 #endif