]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/buffer.c
smaps: extract pmd walker from smaps code
[linux-2.6-omap-h63xx.git] / fs / buffer.c
index 1d0852fa728bd851969e93a9f9cfcf4fea6010bc..dcc5faa573bae6677964453cf5a2392310c73c32 100644 (file)
@@ -1700,17 +1700,8 @@ done:
                 * clean.  Someone wrote them back by hand with
                 * ll_rw_block/submit_bh.  A rare case.
                 */
-               int uptodate = 1;
-               do {
-                       if (!buffer_uptodate(bh)) {
-                               uptodate = 0;
-                               break;
-                       }
-                       bh = bh->b_this_page;
-               } while (bh != head);
-               if (uptodate)
-                       SetPageUptodate(page);
                end_page_writeback(page);
+
                /*
                 * The page and buffer_heads can be released at any time from
                 * here on.