aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2013-03-18 05:18:10 -0400
committerJosef Bacik <jbacik@fusionio.com>2013-05-06 15:54:20 -0400
commit6841ebee6b02abe178abd30f40806e385cd96777 (patch)
tree1a094d4b96a1ffeef72ad8f2fda66883371cab92
parent628c8282bed73c18ff056d655d4a6a63ef55284a (diff)
btrfs: Cleanup some redundant codes in btrfs_log_inode()
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
-rw-r--r--fs/btrfs/tree-log.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c
index ef96381569a4..f728eeb3eda5 100644
--- a/fs/btrfs/tree-log.c
+++ b/fs/btrfs/tree-log.c
@@ -3650,8 +3650,6 @@ static int btrfs_log_inode(struct btrfs_trans_handle *trans,
3650 bool fast_search = false; 3650 bool fast_search = false;
3651 u64 ino = btrfs_ino(inode); 3651 u64 ino = btrfs_ino(inode);
3652 3652
3653 log = root->log_root;
3654
3655 path = btrfs_alloc_path(); 3653 path = btrfs_alloc_path();
3656 if (!path) 3654 if (!path)
3657 return -ENOMEM; 3655 return -ENOMEM;