summaryrefslogblamecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
blob: 6b50076b02d502d08b6b84f9bd1ae34af353f90b (plain) (tree)
1
2
3
4
5
6
7
8



                    
                                
                                                    
                                  
                               






                                                                  
#ifndef __BTRFS_I__
#define __BTRFS_I__

struct btrfs_inode {
	struct btrfs_root *root;
	struct btrfs_block_group_cache *block_group;
	struct btrfs_key location;
	struct inode vfs_inode;
};
static inline struct btrfs_inode *BTRFS_I(struct inode *inode)
{
	return container_of(inode, struct btrfs_inode, vfs_inode);
}

#endif