aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/cache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2021-09-08 15:55:42 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-08 15:55:42 -0700
commit14e2bc4e8c40a876c1ab5597320d523c12a97f39 (patch)
tree4343c601641e0616f06917e35692523930bc04c3 /net/sunrpc/cache.c
parentMerge tag 'ceph-for-5.15-rc1' of git://github.com/ceph/ceph-client (diff)
parentSUNRPC: improve error response to over-size gss credential (diff)
downloadlinux-dev-14e2bc4e8c40a876c1ab5597320d523c12a97f39.tar.xz
linux-dev-14e2bc4e8c40a876c1ab5597320d523c12a97f39.zip
Merge tag 'nfsd-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
Pull nfsd fixes from Chuck Lever: - Restore performance on memory-starved servers * tag 'nfsd-5.15-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux: SUNRPC: improve error response to over-size gss credential SUNRPC: don't pause on incomplete allocation
Diffstat (limited to 'net/sunrpc/cache.c')
-rw-r--r--net/sunrpc/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c
index 1a2c1c44bb00..59641803472c 100644
--- a/net/sunrpc/cache.c
+++ b/net/sunrpc/cache.c
@@ -803,7 +803,7 @@ static int cache_request(struct cache_detail *detail,
detail->cache_request(detail, crq->item, &bp, &len);
if (len < 0)
- return -EAGAIN;
+ return -E2BIG;
return PAGE_SIZE - len;
}