diff options
author | Steven Whitehouse <steve@chygwyn.com> | 2006-01-18 06:19:28 -0500 |
---|---|---|
committer | Steven Whitehouse <steve@chygwyn.com> | 2006-01-18 06:19:28 -0500 |
commit | d4e9c4c3bf861ef2ac96e0de659c75a00da92b28 (patch) | |
tree | 925ececc725ad5180b9253f732b50c51bfa0754d /fs/gfs2/quota.c | |
parent | b96ca4fa4e3b510d528a093a5bac0befbc2ba46d (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/quota.c')
-rw-r--r-- | fs/gfs2/quota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index a0320f22b57b..5fb5a5305e0e 100644 --- a/fs/gfs2/quota.c +++ b/fs/gfs2/quota.c | |||
@@ -527,7 +527,7 @@ static void do_qc(struct gfs2_quota_data *qd, int64_t change) | |||
527 | int64_t x; | 527 | int64_t x; |
528 | 528 | ||
529 | down(&sdp->sd_quota_mutex); | 529 | down(&sdp->sd_quota_mutex); |
530 | gfs2_trans_add_bh(ip->i_gl, qd->qd_bh); | 530 | gfs2_trans_add_bh(ip->i_gl, qd->qd_bh, 1); |
531 | 531 | ||
532 | if (!test_bit(QDF_CHANGE, &qd->qd_flags)) { | 532 | if (!test_bit(QDF_CHANGE, &qd->qd_flags)) { |
533 | qc->qc_change = 0; | 533 | qc->qc_change = 0; |