diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2026-04-19 21:53:05 +0300 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-06-09 23:32:59 +0300 |
| commit | ba0cde5dc81d214684b8ea0bd87414ba2f48fe02 (patch) | |
| tree | 1e2bb9ecd2b6f3e275f320273928e82d1a443b46 /include/uapi/linux | |
| parent | 8fc274883530a9f2c9f69d96e0255df584b5ff61 (diff) | |
| download | linux-ba0cde5dc81d214684b8ea0bd87414ba2f48fe02.tar.xz | |
NFSD: Track svc_export in nfs4_stid
Add an sc_export field to struct nfs4_stid so that each stateid
records the export under which it was acquired. The export
reference is taken via exp_get() at stateid creation and released
via exp_put() in nfs4_put_stid().
Open stateids record the export from current_fh->fh_export.
Lock stateids and delegations inherit the export from their
parent open stateid. Layout stateids inherit from their
parent stateid. Directory delegations record the export from
cstate->current_fh.
A subsequent commit uses sc_export to scope state revocation to a
specific export, avoiding the need to walk inode dentry aliases at
revocation time.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
