[PATCH] Btrfs-progs: fix Segmentation fault of btrfs-convert

2014-07-07 Thread Liu Bo
Recently we merge a memory leak fix, which fails xfstests/btrfs/012, the cause is that it only frees @fs_devices but leaves it on the global fs_uuid list, which cause a 'Segmentation fault' over running command btrfs-convert. This fixes the problem. Signed-off-by: Liu Bo bo.li@oracle.com ---

Re: [PATCH] btrfs-progs: Fix segmentation fault

2013-07-03 Thread David Sterba
On Sat, Jun 22, 2013 at 02:39:21PM +0900, Kusanagi Kouichi wrote: 'btrfs subvolume delete' crashes with segv if it runs in a detached mount. One does not even need to do the lazy unmount. If the there are 2 processes attempting to delete the same snapshot and one deletes the snapshot directory

[PATCH] btrfs-progs: Fix segmentation fault

2013-06-22 Thread Kusanagi Kouichi
'btrfs subvolume delete' crashes with segv if it runs in a detached mount. Steps to reprduce: # mkfs.btrfs /dev/vdb WARNING! - Btrfs v0.20-rc1 IS EXPERIMENTAL WARNING! - see http://btrfs.wiki.kernel.org before using fs created label (null) on /dev/vdb nodesize 4096 leafsize 4096

[PATCH] Btrfs-progs: fix segmentation fault of btrfs check

2013-02-26 Thread Tsutomu Itoh
Segmentation fault occurred in the following command. # btrfs check /dev/sdc7 No valid Btrfs found on /dev/sdc7 Segmentation fault (core dumped) Fix it. Signed-off-by: Tsutomu Itoh t-i...@jp.fujitsu.com --- cmds-check.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH] Btrfs-progs: fix segmentation fault of 'btrfs-debug-tree -e'

2013-02-18 Thread Liu Bo
Due to some historical reasons, we remove 'printing leaf' part, which'd lead to 'Segmentation fault' of btrfs-debug-tree -e, this patch adds it back. Signed-off-by: Liu Bo bo.li@oracle.com --- debug-tree.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git