[Ocfs2-devel] [patch 05/28] ocfs2: acknowledge return value of ocfs2_error()

Mark Fasheh mfasheh at suse.de
Fri Aug 28 16:47:44 PDT 2015


On Wed, Aug 26, 2015 at 03:11:32PM -0700, Andrew Morton wrote:
> From: Goldwyn Rodrigues <rgoldwyn at suse.de>
> Subject: ocfs2: acknowledge return value of ocfs2_error()
> 
> Caveat: This may return -EROFS for a read case, which seems wrong.  This
> is happening even without this patch series though.  Should we convert
> EROFS to EIO?
> 
> 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>

Well I realized that the error was mine and I missed this patch,

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

--
Mark Fasheh



More information about the Ocfs2-devel mailing list