Commit 6841ebee authored by Zhi Yong Wu's avatar Zhi Yong Wu Committed by Josef Bacik

btrfs: Cleanup some redundant codes in btrfs_log_inode()

Signed-off-by: default avatarZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: default avatarJosef Bacik <jbacik@fusionio.com>
parent 628c8282
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment