diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2014-02-21 06:52:00 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2014-02-21 06:52:00 -0500 |
commit | 654a6d2f962edb7bf85973cfe93a04e24f56f902 (patch) | |
tree | 9cb1039858cc72ea458ca5df705d27040b522440 /fs/gfs2/incore.h | |
parent | ad781971d9b8b409be09645be56d160865c952a6 (diff) |
GFS2: Reduce struct gfs2_trans in size
A couple of "int" fields were being used as boolean values
so we can make them bitfields of one bit, and put them in
what might otherwise be a hole in the structure with 64
bit alignment.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index cf0e34400f71..645655cccdc8 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h | |||
@@ -462,11 +462,11 @@ struct gfs2_trans { | |||
462 | unsigned int tr_blocks; | 462 | unsigned int tr_blocks; |
463 | unsigned int tr_revokes; | 463 | unsigned int tr_revokes; |
464 | unsigned int tr_reserved; | 464 | unsigned int tr_reserved; |
465 | unsigned int tr_touched:1; | ||
466 | unsigned int tr_attached:1; | ||
465 | 467 | ||
466 | struct gfs2_holder tr_t_gh; | 468 | struct gfs2_holder tr_t_gh; |
467 | 469 | ||
468 | int tr_touched; | ||
469 | int tr_attached; | ||
470 | 470 | ||
471 | unsigned int tr_num_buf_new; | 471 | unsigned int tr_num_buf_new; |
472 | unsigned int tr_num_databuf_new; | 472 | unsigned int tr_num_databuf_new; |