]> git.neil.brown.name Git - history.git/commit
[PATCH] Fix the __block_write_full_page() error path.
authorAndrew Morton <akpm@digeo.com>
Sun, 8 Sep 2002 05:21:42 +0000 (22:21 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 8 Sep 2002 05:21:42 +0000 (22:21 -0700)
commit0e64a39da77a2098c3c17586d66cd17ae038493c
tree1b9115135b6e8154194f1fb4641330deea1e09ca
parentd98b1feb427e4046c23e13a66f4a5e1afbe13b6f
[PATCH] Fix the __block_write_full_page() error path.

Fix the ENOSPC recovery code in __block_write_full_page()

- Don't write out clean buffers.

- Set PG_writeback before submitting the IO.  Otherwise the completion
  handler will go BUG when it sees a non-PageWriteback page.  If the IO
  is very fast, or synchronous.
fs/buffer.c