summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorAneesh2007-06-13 22:18:26 +0200
committerDavid Woodhouse2007-06-13 22:18:26 +0200
commitf1ace244c8c1e16eaa5c8b3b5339849651e31ede (patch)
treef1a84930a17a6803072f390bab28eb43f6e95f5b /fs/btrfs/btrfs_inode.h
parentBtrfs: Added tag v0.2 for changeset 8edac0ff7fb5 (diff)
downloadkernel-qcow2-linux-f1ace244c8c1e16eaa5c8b3b5339849651e31ede.tar.gz
kernel-qcow2-linux-f1ace244c8c1e16eaa5c8b3b5339849651e31ede.tar.xz
kernel-qcow2-linux-f1ace244c8c1e16eaa5c8b3b5339849651e31ede.zip
btrfs: Code cleanup
Attaching below is some of the code cleanups that i came across while reading the code. a) alloc_path already calls init_path. b) Mention that btrfs_inode is the in memory copy.Ext4 have ext4_inode_info as the in memory copy ext4_inode as the disk copy Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r--fs/btrfs/btrfs_inode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h
index 783f06b63259..6bce46be49ff 100644
--- a/fs/btrfs/btrfs_inode.h
+++ b/fs/btrfs/btrfs_inode.h
@@ -19,6 +19,7 @@
#ifndef __BTRFS_I__
#define __BTRFS_I__
+/* in memory btrfs inode */
struct btrfs_inode {
struct btrfs_root *root;
struct btrfs_block_group_cache *block_group;