Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275856
b: refs/heads/master
c: f7d61dc
h: refs/heads/master
v: v3
  • Loading branch information
Josef Bacik authored and Chris Mason committed Nov 20, 2011
1 parent fa53380 commit c53dcfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 291c7d2f577428f896daa5002e784959328a80aa
refs/heads/master: f7d61dcd6873c49bcc42be2caa2af1c2511aa915
5 changes: 5 additions & 0 deletions trunk/fs/btrfs/free-space-cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,11 @@ static int io_ctl_prepare_pages(struct io_ctl *io_ctl, struct inode *inode,
}
}

for (i = 0; i < io_ctl->num_pages; i++) {
clear_page_dirty_for_io(io_ctl->pages[i]);
set_page_extent_mapped(io_ctl->pages[i]);
}

return 0;
}

Expand Down

0 comments on commit c53dcfc

Please sign in to comment.