btrfs: Check name_len before reading btrfs_get_name
[sfrench/cifs-2.6.git] / fs / btrfs / export.h
1 #ifndef BTRFS_EXPORT_H
2 #define BTRFS_EXPORT_H
3
4 #include <linux/exportfs.h>
5
6 extern const struct export_operations btrfs_export_ops;
7
8 struct btrfs_fid {
9         u64 objectid;
10         u64 root_objectid;
11         u32 gen;
12
13         u64 parent_objectid;
14         u32 parent_gen;
15
16         u64 parent_root_objectid;
17 } __attribute__ ((packed));
18
19 #endif