diff --git a/[refs] b/[refs] index ca54845b3262..f9b60b7b35d1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 07dbd37727049c0d56e313e5afcf8db07a9c3e37 +refs/heads/master: c708443c004f2310abdd7f1c353daa372b37f7a2 diff --git a/trunk/drivers/md/bitmap.c b/trunk/drivers/md/bitmap.c index ee4a3424a8a3..76a189ceb529 100644 --- a/trunk/drivers/md/bitmap.c +++ b/trunk/drivers/md/bitmap.c @@ -315,6 +315,8 @@ static int write_page(struct bitmap *bitmap, struct page *page, int wait) if (bitmap->file == NULL) return write_sb_page(bitmap->mddev, bitmap->offset, page, wait); + flush_dcache_page(page); /* make sure visible to anyone reading the file */ + if (wait) lock_page(page); else {