summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-03-01 11:39:37 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-03-01 11:39:37 -0500
commite317ffcb7cc26c5e80cab97160a5e2761a4436ec (patch)
tree0a5e5765f4fe9032b19f71e22a549df3f0012627 /fs/gfs2/incore.h
parentb3f58d8f2b1200f1b9abbcfb9dec6c25bc787469 (diff)
downloadlinux-e317ffcb7cc26c5e80cab97160a5e2761a4436ec.tar.gz
linux-e317ffcb7cc26c5e80cab97160a5e2761a4436ec.tar.bz2
linux-e317ffcb7cc26c5e80cab97160a5e2761a4436ec.zip
[GFS2] Remove uneeded memory allocation
For every filesystem operation where we need a transaction, we now make one less memory allocation. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 2443e9aad598..c741016d07dc 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -360,7 +360,7 @@ struct gfs2_trans {
unsigned int tr_revokes;
unsigned int tr_reserved;
- struct gfs2_holder *tr_t_gh;
+ struct gfs2_holder tr_t_gh;
int tr_touched;