ocfs2-free-path-in-ocfs2_remove_inode_range.patch removed from -mm tree
Subject: [merged] ocfs2-free-path-in-ocfs2_remove_inode_range.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 12 Sep 2013 12:41:45 -0700
The patch titled
Subject: ocfs2: free path in ocfs2_remove_inode_range()
has been removed from the -mm tree. Its filename was
ocfs2-free-path-in-ocfs2_remove_inode_range.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Younger Liu <[email protected]>
Subject: ocfs2: free path in ocfs2_remove_inode_range()
In ocfs2_remove_inode_range(), there is a memory leak. The variable path has allocated memory with ocfs2_new_path_from_et(), but it is not free.
---
fs/ocfs2/file.c | 1 + 1 file changed, 1 insertion(+)
fs/ocfs2/file.c renamed from fs/ocfs2/file.c~ocfs2-free-path-in-ocfs2_remove_inode_range +1 -0
@@ -1796,6 +1796,7 @@ static int ocfs2_remove_inode_range(struocfs2_truncate_cluster_pages (inode, byte_start, byte_len); out: +ocfs2_free_path (path);ocfs2_schedule_truncate_log_flush (osb,1 );ocfs2_run_deallocs (osb, &dealloc);
_
Patches currently in -mm which might be from [email protected] are
origin.patch ocfs2-should-call-ocfs2_journal_access_di-before-ocfs2_delete_entry-in-ocfs2_orphan_del.patch ocfs2-fix-issue-that-ocfs2_setattr-does-not-deal-with-new_i_size==i_size.patch ocfs2-update-inode-size-after-zeronig-the-hole.patch