summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse2006-03-01 17:39:37 +0100
committerSteven Whitehouse2006-03-01 17:39:37 +0100
commite317ffcb7cc26c5e80cab97160a5e2761a4436ec (patch)
tree0a5e5765f4fe9032b19f71e22a549df3f0012627 /fs/gfs2/incore.h
parent[DLM] Pass in lockspace to lkb put function (diff)
downloadkernel-qcow2-linux-e317ffcb7cc26c5e80cab97160a5e2761a4436ec.tar.gz
kernel-qcow2-linux-e317ffcb7cc26c5e80cab97160a5e2761a4436ec.tar.xz
kernel-qcow2-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;