summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2025-03-03 20:25:59 +0300
committerChuck Lever <chuck.lever@oracle.com>2025-03-10 16:11:11 +0300
commit87055f8aea273712c35706f11a4250e243137dc9 (patch)
treebafd50f609669ea88463b38becd523d777e5524f
parentff383e8f9440209cf15441bc04627c70a4fe7964 (diff)
downloadlinux-87055f8aea273712c35706f11a4250e243137dc9.tar.xz
nfsd: reorganize struct nfs4_delegation for better packing
Move dl_type field above dl_time, which shaves 8 bytes off this struct. Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
-rw-r--r--fs/nfsd/state.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h
index cd469bde6859..290e29dd43eb 100644
--- a/fs/nfsd/state.h
+++ b/fs/nfsd/state.h
@@ -197,8 +197,8 @@ struct nfs4_delegation {
struct list_head dl_perclnt;
struct list_head dl_recall_lru; /* delegation recalled */
struct nfs4_clnt_odstate *dl_clnt_odstate;
- u32 dl_type;
time64_t dl_time;
+ u32 dl_type;
/* For recall: */
int dl_retries;
struct nfsd4_callback dl_recall;