orangefs: fix do_readv_writev() handling of error halfway through
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Feb 2016 01:15:43 +0000 (20:15 -0500)
committerMike Marshall <hubcap@omnibond.com>
Sat, 26 Mar 2016 02:30:54 +0000 (22:30 -0400)
commit6d4c1a30b32a377083900f39c42bcacb633f99a1
tree0ee0925a24065a72acd9213b1a2f98ce67897e2f
parent524b1d3095159adeee0305508eefc836a197b681
orangefs: fix do_readv_writev() handling of error halfway through

Error should only be returned if nothing had been read/written.
Otherwise we need to report a short read/write instead.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/file.c