Re: [PATCH 2/5] btrfs-progs:local variable memory freed

2013-09-09 Thread David Sterba
On Thu, Sep 05, 2013 at 10:38:55AM +0800, Gui Hecheng wrote: The local probe variable in is_ssd() freed upon unsuccessful return; FYI, I've applied a patch from Wang Shilong Btrfs-progs: fix compile warning in is_ssd() instead of the hunk below and will remove the respective changelog line. The

Re: [PATCH 2/5] btrfs-progs:local variable memory freed

2013-09-09 Thread David Sterba
On Mon, Sep 09, 2013 at 04:18:55PM +0200, David Sterba wrote: On Thu, Sep 05, 2013 at 10:38:55AM +0800, Gui Hecheng wrote: The local probe variable in is_ssd() freed upon unsuccessful return; FYI, I've applied a patch from Wang Shilong Btrfs-progs: fix compile warning in is_ssd() instead of

[PATCH 2/5] btrfs-progs:local variable memory freed

2013-09-04 Thread Gui Hecheng
The local probe variable in is_ssd() freed upon unsuccessful return; The local dir_head list in make_image() freed upon unsuccessful return. Signed-off-by: Gui Hecheng guihc.f...@cn.fujitsu.com --- mkfs.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/mkfs.c