btrfs_inode.h 279 字节
Newer Older
C
Chris Mason 已提交
1 2 3 4
#ifndef __BTRFS_I__
#define __BTRFS_I__

struct btrfs_inode {
5 6
	struct btrfs_root *root;
	struct btrfs_key location;
C
Chris Mason 已提交
7 8 9 10 11 12 13 14
	struct inode vfs_inode;
};
static inline struct btrfs_inode *BTRFS_I(struct inode *inode)
{
	return container_of(inode, struct btrfs_inode, vfs_inode);
}

#endif