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

Commit aae62fdb authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

cifs: move time field in cifsInodeInfo



...and remove length qualifiers from bools.

Before:

	/* size: 1176, cachelines: 19, members: 13 */
	/* sum members: 1165, holes: 2, sum holes: 11 */
	/* bit holes: 1, sum bit holes: 4 bits */
	/* last cacheline: 24 bytes */

After:

	/* size: 1168, cachelines: 19, members: 13 */
	/* last cacheline: 16 bytes */

...savings of 8 bytes per inode.

Signed-off-by: default avatarJeff Layton <jlayton@redhat.com>
Reviewed-by: default avatarPavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent c3dccf48
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -439,11 +439,11 @@ struct cifsInodeInfo {
	/* BB add in lists for dirty pages i.e. write caching info for oplock */
	/* BB add in lists for dirty pages i.e. write caching info for oplock */
	struct list_head openFileList;
	struct list_head openFileList;
	__u32 cifsAttrs; /* e.g. DOS archive bit, sparse, compressed, system */
	__u32 cifsAttrs; /* e.g. DOS archive bit, sparse, compressed, system */
	unsigned long time;	/* jiffies of last update/check of inode */
	bool clientCanCacheRead;	/* read oplock */
	bool clientCanCacheRead:1;	/* read oplock */
	bool clientCanCacheAll;		/* read and writebehind oplock */
	bool clientCanCacheAll:1;	/* read and writebehind oplock */
	bool delete_pending;		/* DELETE_ON_CLOSE is set */
	bool delete_pending:1;		/* DELETE_ON_CLOSE is set */
	bool invalid_mapping;		/* pagecache is invalid */
	bool invalid_mapping:1;		/* pagecache is invalid */
	unsigned long time;		/* jiffies of last update of inode */
	u64  server_eof;		/* current file size on server */
	u64  server_eof;		/* current file size on server */
	u64  uniqueid;			/* server inode number */
	u64  uniqueid;			/* server inode number */
	u64  createtime;		/* creation time on server */
	u64  createtime;		/* creation time on server */