]> git.baikalelectronics.ru Git - kernel.git/commit
orangefs_bufmap_copy_from_iovec(): fix EFAULT handling
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 13 Apr 2017 07:10:18 +0000 (03:10 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 17 Apr 2017 18:23:20 +0000 (14:23 -0400)
commit36e4dcecff098f62a265b7171fa65a8a7af0eb60
treebc13690fd3d6c481a05ca416a92710b0816f64ec
parent5f0766d3a7dd914034557335b16e0f9debd5769b
orangefs_bufmap_copy_from_iovec(): fix EFAULT handling

short copy here should mean instant EFAULT, not "move to the
next page and hope it fails there, this time with nothing
copied"

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/orangefs/orangefs-bufmap.c