]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: acknowledge return value of ocfs2_error()
authorGoldwyn Rodrigues <rgoldwyn@suse.de>
Fri, 4 Sep 2015 22:44:17 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commita2761f45cbfb5085f3165a9440b5054521c71f97
treecc05fa0cd282c144f3c1a30c8bf6b84a150db660
parent4c760c4f07a5e304275fbc81b9bc9305a6aebd75
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@suse.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/alloc.c
fs/ocfs2/dir.c
fs/ocfs2/inode.c
fs/ocfs2/move_extents.c
fs/ocfs2/refcounttree.c
fs/ocfs2/suballoc.c
fs/ocfs2/xattr.c