Displaying 1 result from an estimated 1 matches for "new_emi".
Did you mean:
new_eip
2009 Mar 31
0
[PATCH] ocfs2: remove some pointless conditionals before kfree()
...tem)
- kfree(item);
+ kfree(buf);
+ kfree(item);
}
mlog_exit(ret);
diff --git a/fs/ocfs2/extent_map.c b/fs/ocfs2/extent_map.c
index f2bb1a0..7640858 100644
--- a/fs/ocfs2/extent_map.c
+++ b/fs/ocfs2/extent_map.c
@@ -280,8 +280,7 @@ search:
spin_unlock(&oi->ip_lock);
out:
- if (new_emi)
- kfree(new_emi);
+ kfree(new_emi);
}
static int ocfs2_last_eb_is_empty(struct inode *inode,
diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index 57d7d25..195af61 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -1150,11 +1150,9 @@ static void ocfs2_queue_recovery_completion(...