diff options
author | Jeff Layton <jlayton@poochiereds.net> | 2015-09-17 08:28:38 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-10-12 17:31:04 -0400 |
commit | fcaba026a55803dd21523e6e191ba7f59e02a737 (patch) | |
tree | d529d8973fcfab3118e381f487056d71bf5afba4 /fs/nfsd | |
parent | e79017ddce8273514d24728523d17033bcbeba6f (diff) |
nfsd: move svc_fh->fh_maxsize to just after fh_handle
This moves the hole in the struct down below the flags fields, which
allows us to potentially add a new flag without growing the struct.
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfsfh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsfh.h b/fs/nfsd/nfsfh.h index 1e90dad4926b..b1edd6bf40e1 100644 --- a/fs/nfsd/nfsfh.h +++ b/fs/nfsd/nfsfh.h | |||
@@ -26,9 +26,9 @@ static inline ino_t u32_to_ino_t(__u32 uino) | |||
26 | */ | 26 | */ |
27 | typedef struct svc_fh { | 27 | typedef struct svc_fh { |
28 | struct knfsd_fh fh_handle; /* FH data */ | 28 | struct knfsd_fh fh_handle; /* FH data */ |
29 | int fh_maxsize; /* max size for fh_handle */ | ||
29 | struct dentry * fh_dentry; /* validated dentry */ | 30 | struct dentry * fh_dentry; /* validated dentry */ |
30 | struct svc_export * fh_export; /* export pointer */ | 31 | struct svc_export * fh_export; /* export pointer */ |
31 | int fh_maxsize; /* max size for fh_handle */ | ||
32 | 32 | ||
33 | unsigned char fh_locked; /* inode locked by us */ | 33 | unsigned char fh_locked; /* inode locked by us */ |
34 | unsigned char fh_want_write; /* remount protection taken */ | 34 | unsigned char fh_want_write; /* remount protection taken */ |