diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2022-09-22 19:10:35 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2022-09-26 20:02:50 +0200 |
commit | 781fde1a2ba2391f31142f46f964cf1148ca1791 (patch) | |
tree | edc6d2a608dee9696c4616a04e44448e25a47402 /fs/nfsd/state.h | |
parent | nfsd: use DEFINE_SHOW_ATTRIBUTE to define nfsd_file_cache_stats_fops (diff) | |
download | linux-781fde1a2ba2391f31142f46f964cf1148ca1791.tar.xz linux-781fde1a2ba2391f31142f46f964cf1148ca1791.zip |
NFSD: Rename the fields in copy_stateid_t
Code maintenance: The name of the copy_stateid_t::sc_count field
collides with the sc_count field in struct nfs4_stid, making the
latter difficult to grep for when auditing stateid reference
counting.
No behavior change expected.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 4155be65d806..b3477087a9fc 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -57,11 +57,11 @@ typedef struct { } stateid_t; typedef struct { - stateid_t stid; + stateid_t cs_stid; #define NFS4_COPY_STID 1 #define NFS4_COPYNOTIFY_STID 2 - unsigned char sc_type; - refcount_t sc_count; + unsigned char cs_type; + refcount_t cs_count; } copy_stateid_t; struct nfsd4_callback { |