diff options
| author | Jeff Layton <jlayton@kernel.org> | 2024-10-04 09:16:46 -0400 |
|---|---|---|
| committer | Chuck Lever <chuck.lever@oracle.com> | 2024-11-11 13:42:07 -0500 |
| commit | f6259e2e4f64a1780b285037dbd4f947121ae8fd (patch) | |
| tree | 569c2ac9c46ae259e15201d225582554354e983d /fs/nfsd/state.h | |
| parent | 3a405432e7cd84f5e137928ce383aa85a54fb3a6 (diff) | |
nfsd: have nfsd4_deleg_getattr_conflict pass back write deleg pointer
Currently we pass back the size and whether it has been modified, but
those just mirror values tracked inside the delegation. In a later
patch, we'll need to get at the timestamps in the delegation too, so
just pass back a reference to the write delegation, and use that to
properly override values in the iattr.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/state.h')
| -rw-r--r-- | fs/nfsd/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 9721c6d6ec42..da22eaff3755 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h @@ -783,5 +783,5 @@ static inline bool try_to_expire_client(struct nfs4_client *clp) } extern __be32 nfsd4_deleg_getattr_conflict(struct svc_rqst *rqstp, - struct dentry *dentry, bool *file_modified, u64 *size); + struct dentry *dentry, struct nfs4_delegation **pdp); #endif /* NFSD4_STATE_H */ |
