浏览代码

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>
Zhi Yong Wu 12 年之前
父节点
当前提交
6841ebee6b
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      fs/btrfs/tree-log.c

+ 0 - 2
fs/btrfs/tree-log.c

@@ -3650,8 +3650,6 @@ static int btrfs_log_inode(struct btrfs_trans_handle *trans,
 	bool fast_search = false;
 	bool fast_search = false;
 	u64 ino = btrfs_ino(inode);
 	u64 ino = btrfs_ino(inode);
 
 
-	log = root->log_root;
-
 	path = btrfs_alloc_path();
 	path = btrfs_alloc_path();
 	if (!path)
 	if (!path)
 		return -ENOMEM;
 		return -ENOMEM;