aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/meta_io.c
diff options
context:
space:
mode:
authorSteven Whitehouse <steve@chygwyn.com>2006-01-18 08:38:44 -0500
committerSteven Whitehouse <steve@chygwyn.com>2006-01-18 08:38:44 -0500
commita98ab2204f8ed414c5e95fbca28a9f001c53bc7b (patch)
tree69c309d47bd64015cdecfdd468ec856f294624e8 /fs/gfs2/meta_io.c
parent4f3df04137d426a0ad1758ab744f5b6d658617bf (diff)
[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/meta_io.c')
-rw-r--r--fs/gfs2/meta_io.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c
index 134f31efe515..b6bd2ebfc2cc 100644
--- a/fs/gfs2/meta_io.c
+++ b/fs/gfs2/meta_io.c
@@ -574,13 +574,13 @@ void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, int meta
574} 574}
575 575
576/** 576/**
577 * gfs2_meta_pin - Pin a metadata buffer in memory 577 * gfs2_pin - Pin a buffer in memory
578 * @sdp: the filesystem the buffer belongs to 578 * @sdp: the filesystem the buffer belongs to
579 * @bh: The buffer to be pinned 579 * @bh: The buffer to be pinned
580 * 580 *
581 */ 581 */
582 582
583void gfs2_meta_pin(struct gfs2_sbd *sdp, struct buffer_head *bh) 583void gfs2_pin(struct gfs2_sbd *sdp, struct buffer_head *bh)
584{ 584{
585 struct gfs2_bufdata *bd = get_v2bd(bh); 585 struct gfs2_bufdata *bd = get_v2bd(bh);
586 586
@@ -609,15 +609,15 @@ void gfs2_meta_pin(struct gfs2_sbd *sdp, struct buffer_head *bh)
609} 609}
610 610
611/** 611/**
612 * gfs2_meta_unpin - Unpin a buffer 612 * gfs2_unpin - Unpin a buffer
613 * @sdp: the filesystem the buffer belongs to 613 * @sdp: the filesystem the buffer belongs to
614 * @bh: The buffer to unpin 614 * @bh: The buffer to unpin
615 * @ai: 615 * @ai:
616 * 616 *
617 */ 617 */
618 618
619void gfs2_meta_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh, 619void gfs2_unpin(struct gfs2_sbd *sdp, struct buffer_head *bh,
620 struct gfs2_ail *ai) 620 struct gfs2_ail *ai)
621{ 621{
622 struct gfs2_bufdata *bd = get_v2bd(bh); 622 struct gfs2_bufdata *bd = get_v2bd(bh);
623 623