public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] misc kernel leak patches
@ 2013-10-02 12:51 Mark Tinguely
  2013-10-02 12:51 ` [PATCH 1/2] xfs: fix memory leak in xfs_dir2_node_removename Mark Tinguely
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mark Tinguely @ 2013-10-02 12:51 UTC (permalink / raw)
  To: xfs

Here are a couple patches to free leaked memory.

First patch is v2 of a Coverity found leak in xfs_dir2_node_removename().

Second patch arose from an eariler leak found by Coverity. In looking
at that patch, Eric noted that it appeared that the transaction's
item list is also leaked if recovery fails. I tested this patch by forcing
errors into the recovery code to verify that the items are now being released.

I will send patches for xfsprogs equivalent.

--Mark.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-12-05 22:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-02 12:51 [PATCH 0/2] misc kernel leak patches Mark Tinguely
2013-10-02 12:51 ` [PATCH 1/2] xfs: fix memory leak in xfs_dir2_node_removename Mark Tinguely
2013-10-02 20:32   ` Dave Chinner
2013-10-02 21:04     ` Mark Tinguely
2013-10-02 12:51 ` [PATCH 2/2] xfs free the list of recovery items on error Mark Tinguely
2013-12-04 20:51   ` Ben Myers
2013-12-05 22:52     ` Ben Myers
2013-10-02 20:54 ` [PATCH 0/2] misc kernel leak patches Eric Sandeen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox