diff --git a/fs/mpage.c b/fs/mpage.c index 3e79220babac..a3ccb0bd465a 100644 --- a/fs/mpage.c +++ b/fs/mpage.c @@ -605,6 +605,8 @@ static int __mpage_writepage(struct page *page, struct writeback_control *wbc, bio_get_nr_vecs(bdev), GFP_NOFS|__GFP_HIGH); if (bio == NULL) goto confused; + + bio_associate_blkcg(bio, inode_to_wb_blkcg_css(inode)); } /*