Skip to content

Commit

Permalink
btrfs: Cleanup some redundant codes in btrfs_log_inode()
Browse files Browse the repository at this point in the history
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
  • Loading branch information
Zhi Yong Wu authored and Josef Bacik committed May 6, 2013
1 parent 628c828 commit 6841ebe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/btrfs/tree-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -3650,8 +3650,6 @@ static int btrfs_log_inode(struct btrfs_trans_handle *trans,
bool fast_search = false;
u64 ino = btrfs_ino(inode);

log = root->log_root;

path = btrfs_alloc_path();
if (!path)
return -ENOMEM;
Expand Down

0 comments on commit 6841ebe

Please sign in to comment.