[Ocfs2-devel] [patch 06/28] ocfs2: clear the rest of the buffers on error

Mark Fasheh mfasheh at suse.de
Fri Aug 28 16:23:20 PDT 2015


On Wed, Aug 26, 2015 at 03:11:35PM -0700, Andrew Morton wrote:
> From: Goldwyn Rodrigues <rgoldwyn at suse.de>
> Subject: ocfs2: clear the rest of the buffers on error
> 
> In case a validation fails, clear the rest of the buffers and return the
> error to the calling function.
> 
> This also facilitates bubbling up the error originating from ocfs2_error
> to calling functions.
> 
> Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.com>
> Cc: Mark Fasheh <mfasheh at suse.com>
> Cc: Joel Becker <jlbec at evilplan.org>
> Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Reviewed-by: Mark Fasheh <mfasheh at suse.de>

--
Mark Fasheh



More information about the Ocfs2-devel mailing list