Commit c4766024 authored by Anna Schumaker's avatar Anna Schumaker Committed by Jialin Zhang
Browse files

NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data

stable inclusion
from stable-v5.10.150
commit 3de402a5248a9de841d47b5a11b5dbe5c30da682
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0XA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=3de402a5248a9de841d47b5a11b5dbe5c30da682



--------------------------------

[ Upstream commit 06981d56 ]

This was discussed with Chuck as part of this patch set. Returning
nfserr_resource was decided to not be the best error message here, and
he suggested changing to nfserr_serverfault instead.

Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
Link: https://lore.kernel.org/linux-nfs/20220907195259.926736-1-anna@kernel.org/T/#t


Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parent 4e774507
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment