Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242375
b: refs/heads/master
c: a54aa76
h: refs/heads/master
i:
  242373: 8ed49a2
  242371: 2bcd1d6
  242367: f368aa4
v: v3
  • Loading branch information
Theodore Ts'o committed Feb 27, 2011
1 parent 952c3e1 commit a0fc491
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 168fc0223c0e944957b1f31d88c2334fc904baf1
refs/heads/master: a54aa76108619e5d8290b49081c2aaaeff5be9a2
4 changes: 2 additions & 2 deletions trunk/fs/ext4/page-io.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,6 @@ int ext4_bio_write_page(struct ext4_io_submit *io,

BUG_ON(!PageLocked(page));
BUG_ON(PageWriteback(page));
set_page_writeback(page);
ClearPageError(page);

io_page = kmem_cache_alloc(io_page_cachep, GFP_NOFS);
if (!io_page) {
Expand All @@ -393,6 +391,8 @@ int ext4_bio_write_page(struct ext4_io_submit *io,
io_page->p_page = page;
atomic_set(&io_page->p_count, 1);
get_page(page);
set_page_writeback(page);
ClearPageError(page);

for (bh = head = page_buffers(page), block_start = 0;
bh != head || !block_start;
Expand Down

0 comments on commit a0fc491

Please sign in to comment.