Merge tag 'drm-misc-fixes-2023-11-08' of git://anongit.freedesktop.org/drm/drm-misc...
[linux-block.git] / fs / btrfs / export.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
9888c340 2
be6e8dc0
BR
3#ifndef BTRFS_EXPORT_H
4#define BTRFS_EXPORT_H
5
6#include <linux/exportfs.h>
7
8extern const struct export_operations btrfs_export_ops;
9
10struct btrfs_fid {
11 u64 objectid;
12 u64 root_objectid;
13 u32 gen;
14
15 u64 parent_objectid;
16 u32 parent_gen;
17
18 u64 parent_root_objectid;
19} __attribute__ ((packed));
20
c0c907a4 21struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
b307f06d 22 u64 root_objectid, u64 generation);
c0c907a4
MPS
23struct dentry *btrfs_get_parent(struct dentry *child);
24
be6e8dc0 25#endif