]> www.infradead.org Git - users/hch/misc.git/commit
NFSD: Implement CB_SEQUENCE referring call lists
authorChuck Lever <chuck.lever@oracle.com>
Sat, 1 Mar 2025 18:31:50 +0000 (13:31 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 11 May 2025 23:48:21 +0000 (19:48 -0400)
commit281ae67c948b4e6c1f93fe0ce3d2aa77e9b59047
treed008f13cd42c5ba2aecb861123c66a22e0e52b48
parent4f3c8d8c9e109655311bbb4c6c46a54a9ef90d99
NFSD: Implement CB_SEQUENCE referring call lists

The slot index number of the current COMPOUND has, until now, not
been needed outside of nfsd4_sequence(). But to record the tuple
that represents a referring call, the slot number will be needed
when processing subsequent operations in the COMPOUND.

Refactor the code that allocates a new struct nfsd4_slot to ensure
that the new sl_index field is always correctly initialized.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h