aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lops.c
diff options
context:
space:
mode:
authorSteven Whitehouse <steve@chygwyn.com>2006-01-18 13:38:44 +0000
committerSteven Whitehouse <steve@chygwyn.com>2006-01-18 13:38:44 +0000
commita98ab2204f8ed414c5e95fbca28a9f001c53bc7b (patch)
tree69c309d47bd64015cdecfdd468ec856f294624e8 /fs/gfs2/lops.c
parent[GFS2] Change memory allocations to GFP_NOFS (diff)
downloadlinux-dev-a98ab2204f8ed414c5e95fbca28a9f001c53bc7b.tar.xz
linux-dev-a98ab2204f8ed414c5e95fbca28a9f001c53bc7b.zip
[GFS2] Rename gfs2_meta_pin to gfs2_pin
Since we'll need to pin data if we are going to journal it, then I'm renaming this function to make it less confusing. It might also be worth moving it into lops.c since there are no users outside that file. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/lops.c')
-rw-r--r--fs/gfs2/lops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/lops.c b/fs/gfs2/lops.c
index efb1087d0fa8..a065f7667238 100644
--- a/fs/gfs2/lops.c
+++ b/fs/gfs2/lops.c
@@ -79,7 +79,7 @@ static void buf_lo_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le)
gfs2_trans_add_gl(bd->bd_gl);
gfs2_meta_check(sdp, bd->bd_bh);
- gfs2_meta_pin(sdp, bd->bd_bh);
+ gfs2_pin(sdp, bd->bd_bh);
gfs2_log_lock(sdp);
sdp->sd_log_num_buf++;
@@ -169,7 +169,7 @@ static void buf_lo_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai)
list_del_init(&bd->bd_le.le_list);
sdp->sd_log_num_buf--;
- gfs2_meta_unpin(sdp, bd->bd_bh, ai);
+ gfs2_unpin(sdp, bd->bd_bh, ai);
}
gfs2_assert_warn(sdp, !sdp->sd_log_num_buf);
}