aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/mca/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2025-09-29 12:53:40 -0400
committerChuck Lever <chuck.lever@oracle.com>2025-10-21 11:03:19 -0400
commit4f76435fd517981f01608678c06ad9718a86ee98 (patch)
treed4acd895e72d6bad931f00e7984daabb75d0614c /drivers/mca/git:/ssh:/git@git.zx2c4.com
parentNFSD: Define a proc_layoutcommit for the FlexFiles layout type (diff)
NFSD: Define actions for the new time_deleg FATTR4 attributes
NFSv4 clients won't send legitimate GETATTR requests for these new attributes because they are intended to be used only with CB_GETATTR and SETATTR. But NFSD has to do something besides crashing if it ever sees a GETATTR request that queries these attributes. RFC 8881 Section 18.7.3 states: > The server MUST return a value for each attribute that the client > requests if the attribute is supported by the server for the > target file system. If the server does not support a particular > attribute on the target file system, then it MUST NOT return the > attribute value and MUST NOT set the attribute bit in the result > bitmap. The server MUST return an error if it supports an > attribute on the target but cannot obtain its value. In that case, > no attribute values will be returned. Further, RFC 9754 Section 5 states: > These new attributes are invalid to be used with GETATTR, VERIFY, > and NVERIFY, and they can only be used with CB_GETATTR and SETATTR > by a client holding an appropriate delegation. Thus there does not appear to be a specific server response mandated by specification. Taking the guidance that querying these attributes via GETATTR is "invalid", NFSD will return nfserr_inval, failing the request entirely. Reported-by: Robert Morris <rtm@csail.mit.edu> Closes: https://lore.kernel.org/linux-nfs/7819419cf0cb50d8130dc6b747765d2b8febc88a.camel@kernel.org/T/#t Fixes: 51c0d4f7e317 ("nfsd: add support for FATTR4_OPEN_ARGUMENTS") Cc: stable@vger.kernel.org Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'drivers/mca/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
d>tools lib: Adopt bitmap_intersects() operation from the kernel sourcesAlexey Bayduraev1-0/+11 2021-05-06tools: sync small_const_nbits() macro with the kernelYury Norov1-3/+0 2021-05-06tools: sync BITMAP_LAST_WORD_MASK() macro with the kernelYury Norov1-6/+1 2021-05-06tools: bitmap: sync function declarations with the kernelYury Norov1-4/+4 2020-01-06tools bitmap: Implement bitmap_equal() operation at bitmap APIAlexey Budankov1-0/+30 2018-10-21xarray: Add XArray unconditional store operationsMatthew Wilcox1-0/+1 2018-08-22tools: introduce test_and_clear_bitPeter Xu1-0/+17 2018-03-08perf tools: Add MEM_TOPOLOGY feature to perf data fileJiri Olsa1-1/+1 2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1 2017-01-27radix tree test suite: Remove duplicate bitops codeMatthew Wilcox1-0/+1 2016-12-14tools: add more bitmap functionsMatthew Wilcox1-0/+26 2016-08-02tools lib: Add bitmap_and functionJiri Olsa1-0/+17 2016-08-02tools lib: Add bitmap_scnprintf functionJiri Olsa1-0/+10 2016-08-02tools lib: Add bitmap_alloc functionJiri Olsa1-0/+10 2016-01-08tools lib: Move bitmap.[ch] from tools/perf/ to tools/{lib,include}/Arnaldo Carvalho de Melo1-0/+68