mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 11:56:42 +07:00
1b05da2ee6
Signed-off-by: Chris Mason <chris.mason@oracle.com>
15 lines
279 B
C
15 lines
279 B
C
#ifndef __BTRFS_I__
|
|
#define __BTRFS_I__
|
|
|
|
struct btrfs_inode {
|
|
struct btrfs_root *root;
|
|
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
|