Btrfs: still corruption hunting

Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
Chris Mason
2007-04-02 10:50:19 -04:00
committed by David Woodhouse
parent d602557953
commit 2c90e5d658
10 changed files with 265 additions and 95 deletions

14
fs/btrfs/btrfs_inode.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef __BTRFS_I__
#define __BTRFS_I__
struct btrfs_inode {
u32 magic;
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