]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Fix an error code returned by a DAX ioctl
authorSanath Kumar <sanath.s.kumar@oracle.com>
Tue, 23 May 2017 01:48:02 +0000 (20:48 -0500)
committerShannon Nelson <shannon.nelson@oracle.com>
Fri, 2 Jun 2017 17:12:39 +0000 (10:12 -0700)
commit4a6a3b533d573809f5f772ec7c849c3da5383908
treecc8ae6be09ba840301bba90b028e1f9dec9a8d9a
parentf04a0fd93c5bdf919884b76d1a95c621a66c93a7
sparc64: Fix an error code returned by a DAX ioctl

Orabug: 26132331

IOCTL for ccb submission failed due to get_user_pages error should
return EFAULT instead of EPERM. This was a regression introduced by a
prior patch that cleaned up a few functions in this code path.

Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: Sanath Kumar <sanath.s.kumar@oracle.com>
arch/sparc/dax/dax_main.c