summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorAneesh <aneesh.kumar@linux.vnet.ibm.com>2007-06-13 16:18:26 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-13 16:18:26 -0400
commitf1ace244c8c1e16eaa5c8b3b5339849651e31ede (patch)
treef1a84930a17a6803072f390bab28eb43f6e95f5b /fs/btrfs/btrfs_inode.h
parentb79ab950f57c3260ee609ba41779019d21b8eb88 (diff)
downloadop-kernel-dev-f1ace244c8c1e16eaa5c8b3b5339849651e31ede.zip
op-kernel-dev-f1ace244c8c1e16eaa5c8b3b5339849651e31ede.tar.gz
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 783f06b..6bce46b 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;
OpenPOWER on IntegriCloud