android_kernel_xiaomi_sm8450/fs/nfsd
Chuck Lever 7ae7ada29a NFSD: Fix NFSv4's PUTPUBFH operation
commit 202f39039a11402dcbcd5fece8d9fa6be83f49ae upstream.

According to RFC 8881, all minor versions of NFSv4 support PUTPUBFH.

Replace the XDR decoder for PUTPUBFH with a "noop" since we no
longer want the minorversion check, and PUTPUBFH has no arguments to
decode. (Ideally nfsd4_decode_noop should really be called
nfsd4_decode_void).

PUTPUBFH should now behave just like PUTROOTFH.

Reported-by: Cedric Blancher <cedric.blancher@gmail.com>
Fixes: e1a90ebd8b ("NFSD: Combine decode operations for v4 and v4.1")
Cc: Dan Shelton <dan.f.shelton@gmail.com>
Cc: Roland Mainz <roland.mainz@nrubsig.org>
Cc: stable@vger.kernel.org
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-17 15:08:23 +02:00
..
acl.h NFSD: add posix ACLs to struct nfsd_attrs 2024-06-21 14:53:55 +02:00
auth.c
auth.h
blocklayout.c nfsd: move nfserrno() to vfs.c 2024-06-21 14:54:05 +02:00
blocklayoutxdr.c nfsd: move nfserrno() to vfs.c 2024-06-21 14:54:05 +02:00
blocklayoutxdr.h
cache.h nfsd: make all of the nfsd stats per-network namespace 2024-09-12 11:06:45 +02:00
current_stateid.h
export.c NFSD: Fix frame size warning in svc_export_parse() 2024-09-12 11:06:44 +02:00
export.h NFSD: Fix frame size warning in svc_export_parse() 2024-09-12 11:06:44 +02:00
fault_inject.c nfsd: no need to check return value of debugfs_create functions 2019-07-03 16:57:17 +02:00
filecache.c nfsd: fix refcount leak when file is unhashed after being found 2024-10-17 15:07:53 +02:00
filecache.h NFSD: Convert filecache to rhltable 2024-06-21 14:54:13 +02:00
flexfilelayout.c nfsd: move nfserrno() to vfs.c 2024-06-21 14:54:05 +02:00
flexfilelayoutxdr.c NFSD: da_addr_body field missing in some GETDEVICEINFO replies 2023-09-19 12:20:15 +02:00
flexfilelayoutxdr.h
idmap.h
Kconfig nfsd: allow disabling NFSv2 at compile time 2024-06-21 14:54:05 +02:00
lockd.c NFSD: simplify struct nfsfh 2024-06-21 14:53:25 +02:00
Makefile nfsd: allow disabling NFSv2 at compile time 2024-06-21 14:54:05 +02:00
netns.h nfsd: make svc_stat per-network namespace instead of global 2024-09-12 11:06:45 +02:00
nfs2acl.c NFSD: Finish converting the NFSv2 GETACL result encoder 2024-06-21 14:54:04 +02:00
nfs3acl.c NFSD: Finish converting the NFSv3 GETACL result encoder 2024-06-21 14:54:04 +02:00
nfs3proc.c NFSD: Add an NFSD_FILE_GC flag to enable nfsd_file garbage collection 2024-06-21 14:54:05 +02:00
nfs3xdr.c NFSD: Clean up WRITE arg decoders 2024-06-21 14:54:00 +02:00
nfs4acl.c NFSD: add posix ACLs to struct nfsd_attrs 2024-06-21 14:53:55 +02:00
nfs4callback.c NFSD: add support for sending CB_RECALL_ANY 2024-06-21 14:54:09 +02:00
nfs4idmap.c nfsd: call cache_put if xdr_reserve_space returns NULL 2024-10-17 15:07:55 +02:00
nfs4layouts.c NFSD: Add tracepoints to report NFSv4 callback completions 2024-06-21 14:53:59 +02:00
nfs4proc.c nfsd: make all of the nfsd stats per-network namespace 2024-09-12 11:06:45 +02:00
nfs4recover.c nfsd: return -EINVAL when namelen is 0 2024-10-17 15:07:55 +02:00
nfs4state.c nfsd: fix delegation_blocked() to block correctly for at least 30 seconds 2024-10-17 15:08:22 +02:00
nfs4xdr.c NFSD: Fix NFSv4's PUTPUBFH operation 2024-10-17 15:08:23 +02:00
nfscache.c nfsd: make all of the nfsd stats per-network namespace 2024-09-12 11:06:45 +02:00
nfsctl.c nfsd: make svc_stat per-network namespace instead of global 2024-09-12 11:06:45 +02:00
nfsd.h nfsd: remove nfsd_stats, make th_cnt a global counter 2024-09-12 11:06:45 +02:00
nfsfh.c nfsd: make all of the nfsd stats per-network namespace 2024-09-12 11:06:45 +02:00
nfsfh.h NFSD: Use const pointers as parameters to fh_ helpers 2024-06-21 14:54:06 +02:00
nfsproc.c NFSD: Use set_bit(RQ_DROPME) 2024-06-21 14:54:10 +02:00
nfssvc.c nfsd: make svc_stat per-network namespace instead of global 2024-09-12 11:06:45 +02:00
nfsxdr.c NFSD: Clean up WRITE arg decoders 2024-06-21 14:54:00 +02:00
pnfs.h
state.h NFSD: add delegation reaper to react to low memory condition 2024-06-21 14:54:09 +02:00
stats.c nfsd: make svc_stat per-network namespace instead of global 2024-09-12 11:06:45 +02:00
stats.h nfsd: make svc_stat per-network namespace instead of global 2024-09-12 11:06:45 +02:00
trace.c NFSD: Add SPDX header for fs/nfsd/trace.c 2024-06-21 14:52:33 +02:00
trace.h NFSD: Replace nfsd_prune_bucket() 2024-09-12 11:06:44 +02:00
vfs.c nfsd: map the EBADMSG to nfserr_io to avoid warning 2024-10-17 15:08:23 +02:00
vfs.h NFSD: Pass the target nfsd_file to nfsd_commit() 2024-06-21 14:54:05 +02:00
xdr3.h SUNRPC: Change return value type of .pc_encode 2024-06-21 14:53:26 +02:00
xdr4.h NFSD: enhance inter-server copy cleanup 2024-06-21 14:54:10 +02:00
xdr4cb.h NFSD: add support for sending CB_RECALL_ANY 2024-06-21 14:54:09 +02:00
xdr.h SUNRPC: Change return value type of .pc_encode 2024-06-21 14:53:26 +02:00