diff options
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/log.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c index ee704676b2f1..7df702473252 100644 --- a/fs/gfs2/log.c +++ b/fs/gfs2/log.c | |||
@@ -513,7 +513,8 @@ struct buffer_head *gfs2_log_get_buf(struct gfs2_sbd *sdp) | |||
513 | static void gfs2_fake_write_endio(struct buffer_head *bh, int uptodate) | 513 | static void gfs2_fake_write_endio(struct buffer_head *bh, int uptodate) |
514 | { | 514 | { |
515 | struct buffer_head *real_bh = bh->b_private; | 515 | struct buffer_head *real_bh = bh->b_private; |
516 | struct gfs2_sbd *sdp = GFS2_SB(real_bh->b_page->mapping->host); | 516 | struct gfs2_bufdata *bd = real_bh->b_private; |
517 | struct gfs2_sbd *sdp = bd->bd_gl->gl_sbd; | ||
517 | 518 | ||
518 | end_buffer_write_sync(bh, uptodate); | 519 | end_buffer_write_sync(bh, uptodate); |
519 | free_buffer_head(bh); | 520 | free_buffer_head(bh); |