diff options
Diffstat (limited to 'fs/gfs2/unlinked.c')
-rw-r--r-- | fs/gfs2/unlinked.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/unlinked.c b/fs/gfs2/unlinked.c index 405b91b0295d..e92a3a11815b 100644 --- a/fs/gfs2/unlinked.c +++ b/fs/gfs2/unlinked.c | |||
@@ -46,12 +46,12 @@ static int munge_ondisk(struct gfs2_sbd *sdp, unsigned int slot, | |||
46 | goto out; | 46 | goto out; |
47 | } | 47 | } |
48 | 48 | ||
49 | down(&sdp->sd_unlinked_mutex); | 49 | mutex_lock(&sdp->sd_unlinked_mutex); |
50 | gfs2_trans_add_bh(ip->i_gl, bh, 1); | 50 | gfs2_trans_add_bh(ip->i_gl, bh, 1); |
51 | gfs2_unlinked_tag_out(ut, bh->b_data + | 51 | gfs2_unlinked_tag_out(ut, bh->b_data + |
52 | sizeof(struct gfs2_meta_header) + | 52 | sizeof(struct gfs2_meta_header) + |
53 | offset * sizeof(struct gfs2_unlinked_tag)); | 53 | offset * sizeof(struct gfs2_unlinked_tag)); |
54 | up(&sdp->sd_unlinked_mutex); | 54 | mutex_unlock(&sdp->sd_unlinked_mutex); |
55 | 55 | ||
56 | out: | 56 | out: |
57 | brelse(bh); | 57 | brelse(bh); |