Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54176
b: refs/heads/master
c: 3d67f2d
h: refs/heads/master
v: v3
  • Loading branch information
Nick Piggin authored and Linus Torvalds committed May 7, 2007
1 parent 35d4a77 commit 3ae9a99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6fe6900e1e5b6fa9e5c59aa5061f244fe3f467e2
refs/heads/master: 3d67f2d7c0fb28b0eb6a6aa100b190526a971ad9
11 changes: 1 addition & 10 deletions trunk/fs/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -1700,17 +1700,8 @@ static int __block_write_full_page(struct inode *inode, struct page *page,
* 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.
Expand Down

0 comments on commit 3ae9a99

Please sign in to comment.