]> git.karo-electronics.de Git - karo-tx-linux.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)
commit890559e34eac1fb90a4b5916d4a1387376a05d51
treebc13690fd3d6c481a05ca416a92710b0816f64ec
parent4f7d029b9bf009fbee76bb10c0c4351a1870d2f3
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