mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 05:54:23 +08:00
d6e4a428eb
Signed-off-by: Chris Mason <chris.mason@oracle.com>
17 lines
304 B
C
17 lines
304 B
C
#ifndef __BTRFS_I__
|
|
#define __BTRFS_I__
|
|
|
|
struct btrfs_inode {
|
|
u32 magic;
|
|
struct btrfs_root *root;
|
|
struct btrfs_key location;
|
|
struct inode vfs_inode;
|
|
u32 magic2;
|
|
};
|
|
static inline struct btrfs_inode *BTRFS_I(struct inode *inode)
|
|
{
|
|
return container_of(inode, struct btrfs_inode, vfs_inode);
|
|
}
|
|
|
|
#endif
|