Blame view

fs/btrfs/export.h 533 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
9888c3402   David Sterba   btrfs: replace GP...
2

be6e8dc0b   Balaji Rao   NFS support for b...
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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));
c0c907a47   Marcos Paulo de Souza   btrfs: export hel...
20
21
22
23
  struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
  				u64 root_objectid, u32 generation,
  				int check_generation);
  struct dentry *btrfs_get_parent(struct dentry *child);
be6e8dc0b   Balaji Rao   NFS support for b...
24
  #endif