summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4proc.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2021-12-24 14:36:49 -0500
committerChuck Lever <chuck.lever@oracle.com>2022-01-08 14:42:03 -0500
commitfcb5e3fa012351f3b96024c07bc44834c2478213 (patch)
tree549e82efea4d1be86b9d599119c1b24912569aa9 /fs/nfsd/nfs4proc.c
parent58f258f65267542959487dbe8b5641754411843d (diff)
downloadlinux-stable-fcb5e3fa012351f3b96024c07bc44834c2478213.tar.gz
linux-stable-fcb5e3fa012351f3b96024c07bc44834c2478213.tar.bz2
linux-stable-fcb5e3fa012351f3b96024c07bc44834c2478213.zip
NFSD: Move fill_pre_wcc() and fill_post_wcc()
These functions are related to file handle processing and have nothing to do with XDR encoding or decoding. Also they are no longer NFSv3-specific. As a clean-up, move their definitions to a more appropriate location. WCC is also an NFSv3-specific term, so rename them as general-purpose helpers. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfs4proc.c')
-rw-r--r--fs/nfsd/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c
index 6f53eb90c6b4..ed1ee25647be 100644
--- a/fs/nfsd/nfs4proc.c
+++ b/fs/nfsd/nfs4proc.c
@@ -2530,7 +2530,7 @@ nfsd4_proc_compound(struct svc_rqst *rqstp)
goto encode_op;
}
- fh_clear_wcc(current_fh);
+ fh_clear_pre_post_attrs(current_fh);
/* If op is non-idempotent */
if (op->opdesc->op_flags & OP_MODIFIES_SOMETHING) {