File tree Expand file tree Collapse file tree 5 files changed +5
-7
lines changed
Expand file tree Collapse file tree 5 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ int gfs2_instantiate(struct gfs2_holder *gh)
507507 goto again ;
508508 }
509509
510- ret = glops -> go_instantiate (gh );
510+ ret = glops -> go_instantiate (gl );
511511 if (!ret )
512512 clear_bit (GLF_INSTANTIATE_NEEDED , & gl -> gl_flags );
513513 clear_and_wake_up_bit (GLF_INSTANTIATE_IN_PROG , & gl -> gl_flags );
Original file line number Diff line number Diff line change @@ -485,9 +485,8 @@ int gfs2_inode_refresh(struct gfs2_inode *ip)
485485 * Returns: errno
486486 */
487487
488- static int inode_go_instantiate (struct gfs2_holder * gh )
488+ static int inode_go_instantiate (struct gfs2_glock * gl )
489489{
490- struct gfs2_glock * gl = gh -> gh_gl ;
491490 struct gfs2_inode * ip = gl -> gl_object ;
492491
493492 if (!ip ) /* no inode to populate - read it in later */
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ struct gfs2_glock_operations {
219219 int (* go_xmote_bh )(struct gfs2_glock * gl );
220220 void (* go_inval ) (struct gfs2_glock * gl , int flags );
221221 int (* go_demote_ok ) (const struct gfs2_glock * gl );
222- int (* go_instantiate ) (struct gfs2_holder * gh );
222+ int (* go_instantiate ) (struct gfs2_glock * gl );
223223 int (* go_held )(struct gfs2_holder * gh );
224224 void (* go_dump )(struct seq_file * seq , struct gfs2_glock * gl ,
225225 const char * fs_id_buf );
Original file line number Diff line number Diff line change @@ -1196,9 +1196,8 @@ static void rgrp_set_bitmap_flags(struct gfs2_rgrpd *rgd)
11961196 * Returns: errno
11971197 */
11981198
1199- int gfs2_rgrp_go_instantiate (struct gfs2_holder * gh )
1199+ int gfs2_rgrp_go_instantiate (struct gfs2_glock * gl )
12001200{
1201- struct gfs2_glock * gl = gh -> gh_gl ;
12021201 struct gfs2_rgrpd * rgd = gl -> gl_object ;
12031202 struct gfs2_sbd * sdp = rgd -> rd_sbd ;
12041203 unsigned int length = rgd -> rd_length ;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ extern struct gfs2_rgrpd *gfs2_rgrpd_get_next(struct gfs2_rgrpd *rgd);
3131extern void gfs2_clear_rgrpd (struct gfs2_sbd * sdp );
3232extern int gfs2_rindex_update (struct gfs2_sbd * sdp );
3333extern void gfs2_free_clones (struct gfs2_rgrpd * rgd );
34- extern int gfs2_rgrp_go_instantiate (struct gfs2_holder * gh );
34+ extern int gfs2_rgrp_go_instantiate (struct gfs2_glock * gl );
3535extern void gfs2_rgrp_brelse (struct gfs2_rgrpd * rgd );
3636
3737extern struct gfs2_alloc * gfs2_alloc_get (struct gfs2_inode * ip );
You can’t perform that action at this time.
0 commit comments