]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nfsd: drop the ncf_cb_bmap field
authorJeff Layton <jlayton@kernel.org>
Fri, 4 Oct 2024 13:16:44 +0000 (09:16 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 11 Nov 2024 18:42:07 +0000 (13:42 -0500)
commitc757ca1a56edff8d288d4a6cfdbb305dd03e8048
tree3a17185f4d6f713095235b6266227dc7fb09872e
parentf67eef8da0e8c54709fefdecd16ad8d70f0c9d20
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>
fs/nfsd/nfs4callback.c
fs/nfsd/nfs4state.c
fs/nfsd/state.h