diff options
author | Jeff Layton <jlayton@kernel.org> | 2024-10-04 15:16:44 +0200 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2024-11-11 19:42:07 +0100 |
commit | c757ca1a56edff8d288d4a6cfdbb305dd03e8048 (patch) | |
tree | 3a17185f4d6f713095235b6266227dc7fb09872e /fs/nfsd/state.h | |
parent | nfsd: drop inode parameter from nfsd4_change_attribute() (diff) | |
download | linux-c757ca1a56edff8d288d4a6cfdbb305dd03e8048.tar.xz linux-c757ca1a56edff8d288d4a6cfdbb305dd03e8048.zip |
nfsd: drop the ncf_cb_bmap field
This is always the same value, and in a later patch we're going to need
to set bits in WORD2. We can simplify this code and save a little space
in the delegation too. Just hardcode the bitmap in the callback encode
function.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to '')
-rw-r--r-- | fs/nfsd/state.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 35b3564c065f..9721c6d6ec42 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -140,7 +140,6 @@ struct nfs4_cpntf_state { struct nfs4_cb_fattr { struct nfsd4_callback ncf_getattr; u32 ncf_cb_status; - u32 ncf_cb_bmap[1]; /* from CB_GETATTR reply */ u64 ncf_cb_change; |