Re: [PATCH] Btrfs: fix ordered extent leak when failing to start a transaction

2012-08-24 Thread David Sterba
On Wed, Aug 22, 2012 at 11:13:25AM +0800, bo.li@oracle.com wrote: We cannot just return error before freeing ordered extent and releasing reserved space when we fail to start a transacion. Signed-off-by: Liu Bo bo.li@oracle.com --- fs/btrfs/inode.c |7 +-- 1 files

[PATCH] Btrfs: fix ordered extent leak when failing to start a transaction

2012-08-21 Thread bo . li . liu
From: Liu Bo bo.li@oracle.com We cannot just return error before freeing ordered extent and releasing reserved space when we fail to start a transacion. Signed-off-by: Liu Bo bo.li@oracle.com --- fs/btrfs/inode.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff