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/trans.c | |
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/trans.c')
-rw-r--r-- | fs/gfs2/trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/trans.c b/fs/gfs2/trans.c index 2b20d7046bf3..963b28c50fd4 100644 --- a/fs/gfs2/trans.c +++ b/fs/gfs2/trans.c | |||
@@ -98,7 +98,7 @@ static void gfs2_print_trans(const struct gfs2_trans *tr) | |||
98 | { | 98 | { |
99 | printk(KERN_WARNING "GFS2: Transaction created at: %pSR\n", | 99 | printk(KERN_WARNING "GFS2: Transaction created at: %pSR\n", |
100 | (void *)tr->tr_ip); | 100 | (void *)tr->tr_ip); |
101 | printk(KERN_WARNING "GFS2: blocks=%u revokes=%u reserved=%u touched=%d\n", | 101 | printk(KERN_WARNING "GFS2: blocks=%u revokes=%u reserved=%u touched=%u\n", |
102 | tr->tr_blocks, tr->tr_revokes, tr->tr_reserved, tr->tr_touched); | 102 | tr->tr_blocks, tr->tr_revokes, tr->tr_reserved, tr->tr_touched); |
103 | printk(KERN_WARNING "GFS2: Buf %u/%u Databuf %u/%u Revoke %u/%u\n", | 103 | printk(KERN_WARNING "GFS2: Buf %u/%u Databuf %u/%u Revoke %u/%u\n", |
104 | tr->tr_num_buf_new, tr->tr_num_buf_rm, | 104 | tr->tr_num_buf_new, tr->tr_num_buf_rm, |