ocfs2: don't eat io errors during _dio_end_io_write
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 9 Nov 2016 22:42:49 +0000 (14:42 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 10 Dec 2016 20:39:45 +0000 (12:39 -0800)
commit085549553dca86c866f26d233d9cfe19f169c288
tree8725f12abb233f8640d6b5bf3fbf85a7a8173653
parent3e10b793fc40dfdbe51762e0d084bd6f2c8acaaa
ocfs2: don't eat io errors during _dio_end_io_write

ocfs2_dio_end_io_write eats whatever errors may happen,
which means that write errors do not propagate to userspace.
Fix that.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/ocfs2/aops.c