projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
628c828
)
btrfs: Cleanup some redundant codes in btrfs_log_inode()
author
Zhi Yong Wu
<wuzhy@linux.vnet.ibm.com>
Mon, 18 Mar 2013 09:18:10 +0000
(09:18 +0000)
committer
Josef Bacik
<jbacik@fusionio.com>
Mon, 6 May 2013 19:54:20 +0000
(15:54 -0400)
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/tree-log.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/tree-log.c
b/fs/btrfs/tree-log.c
index
ef96381
..
f728eeb
100644
(file)
--- 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,
bool fast_search = false;
u64 ino = btrfs_ino(inode);
- log = root->log_root;
-
path = btrfs_alloc_path();
if (!path)
return -ENOMEM;