aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/trans.c
diff options
context:
space:
mode:
authorSteven Whitehouse <steve@chygwyn.com>2006-01-18 06:19:28 -0500
committerSteven Whitehouse <steve@chygwyn.com>2006-01-18 06:19:28 -0500
commitd4e9c4c3bf861ef2ac96e0de659c75a00da92b28 (patch)
tree925ececc725ad5180b9253f732b50c51bfa0754d /fs/gfs2/trans.c
parentb96ca4fa4e3b510d528a093a5bac0befbc2ba46d (diff)
[GFS2] Add an additional argument to gfs2_trans_add_bh()
This adds an extra argument to gfs2_trans_add_bh() to indicate whether the bh being added to the transaction is metadata or data. Its currently unused since all existing callers set it to 1 (metadata) but following patches will make use of it. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/trans.c')
-rw-r--r--fs/gfs2/trans.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/trans.c b/fs/gfs2/trans.c
index afa5408c0008..82952fb64830 100644
--- a/fs/gfs2/trans.c
+++ b/fs/gfs2/trans.c
@@ -138,10 +138,11 @@ void gfs2_trans_add_gl(struct gfs2_glock *gl)
138 * gfs2_trans_add_bh - Add a to-be-modified buffer to the current transaction 138 * gfs2_trans_add_bh - Add a to-be-modified buffer to the current transaction
139 * @gl: the glock the buffer belongs to 139 * @gl: the glock the buffer belongs to
140 * @bh: The buffer to add 140 * @bh: The buffer to add
141 * @meta: True in the case of adding metadata
141 * 142 *
142 */ 143 */
143 144
144void gfs2_trans_add_bh(struct gfs2_glock *gl, struct buffer_head *bh) 145void gfs2_trans_add_bh(struct gfs2_glock *gl, struct buffer_head *bh, int meta)
145{ 146{
146 struct gfs2_sbd *sdp = gl->gl_sbd; 147 struct gfs2_sbd *sdp = gl->gl_sbd;
147 struct gfs2_bufdata *bd; 148 struct gfs2_bufdata *bd;