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)
commit17a5b9ab32fe0464e7f556e28a2b49d2023fb533
treecc05fa0cd282c144f3c1a30c8bf6b84a150db660
parent7d0fb9148ab6f52006de7cce18860227594ba872
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