Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcaba026 authored by Jeff Layton's avatar Jeff Layton Committed by J. Bruce Fields
Browse files

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: default avatarJeff Layton <jeff.layton@primarydata.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent e79017dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,9 +26,9 @@ static inline ino_t u32_to_ino_t(__u32 uino)
 */
typedef struct svc_fh {
	struct knfsd_fh		fh_handle;	/* FH data */
	int			fh_maxsize;	/* max size for fh_handle */
	struct dentry *		fh_dentry;	/* validated dentry */
	struct svc_export *	fh_export;	/* export pointer */
	int			fh_maxsize;	/* max size for fh_handle */

	unsigned char		fh_locked;	/* inode locked by us */
	unsigned char		fh_want_write;	/* remount protection taken */