Btrfs: no slashes in subvolume names
[linux-2.6-block.git] / fs / btrfs / btrfs_inode.h
CommitLineData
2c90e5d6
CM
1#ifndef __BTRFS_I__
2#define __BTRFS_I__
3
4struct btrfs_inode {
d6e4a428 5 struct btrfs_root *root;
31f3c99b 6 struct btrfs_block_group_cache *block_group;
d6e4a428 7 struct btrfs_key location;
2c90e5d6 8 struct inode vfs_inode;
2c90e5d6
CM
9};
10static inline struct btrfs_inode *BTRFS_I(struct inode *inode)
11{
12 return container_of(inode, struct btrfs_inode, vfs_inode);
13}
14
15#endif