fs: Add helper to clean bdev aliases under a bh and use it
[sfrench/cifs-2.6.git] / fs / ext4 / page-io.c
index e0b3b54cdef32651d32685bc6cfe56ae23602dcf..f28fd6483e0453c8f0bff5ea352d54344b8e0669 100644 (file)
@@ -457,7 +457,7 @@ int ext4_bio_write_page(struct ext4_io_submit *io,
                }
                if (buffer_new(bh)) {
                        clear_buffer_new(bh);
-                       unmap_underlying_metadata(bh->b_bdev, bh->b_blocknr);
+                       clean_bdev_bh_alias(bh);
                }
                set_buffer_async_write(bh);
                nr_to_submit++;