[Ocfs2-devel] [PATCH] Ocfs2: Rollback alloc_dinode counts when ocfs2_block_group_set_bits() failed

Mark Fasheh mfasheh at suse.de
Tue Apr 1 10:48:32 PDT 2014


On Mon, Mar 31, 2014 at 09:07:40PM +0800, Younger Liu wrote:
>   After updating alloc_dinode counts in ocfs2_alloc_dinode_update_counts(),
> if ocfs2_alloc_dinode_update_bitmap() failed, there is a rare case that some
> space may be lost.
>   So, we rollback alloc_dinode counts when ocfs2_block_group_set_bits() failed.
> 
> Signed-off-by: Younger Liu <younger.liucn at gmail.com>
> Cc: Mark Fasheh <mfasheh at suse.de>

Thanks for the latest version fo this patch Younger, it looks good.
	--Mark

Reviewed-by: Mark Fasheh <mfasheh at suse.de>

--
Mark Fasheh



More information about the Ocfs2-devel mailing list