fs: Add helper to clean bdev aliases under a bh and use it
[sfrench/cifs-2.6.git] / fs / ocfs2 / aops.c
index c5c5b9748ea3b886d03bdcef6830f39d1b9ca14f..e8f65eefffca81a9dfa2163cd544698107fdaca1 100644 (file)
@@ -630,7 +630,7 @@ int ocfs2_map_page_blocks(struct page *page, u64 *p_blkno,
 
                if (!buffer_mapped(bh)) {
                        map_bh(bh, inode->i_sb, *p_blkno);
-                       unmap_underlying_metadata(bh->b_bdev, bh->b_blocknr);
+                       clean_bdev_bh_alias(bh);
                }
 
                if (PageUptodate(page)) {