Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56998
b: refs/heads/master
c: 5c3c6bb
h: refs/heads/master
v: v3
  • Loading branch information
Nate Diller authored and Mark Fasheh committed May 25, 2007
1 parent 9150bb3 commit 1b5dc55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 1024c902abdcbd2425aa850d7ef04e013ffb35f0
refs/heads/master: 5c3c6bb7709bf2bf4132750124879b3d89183e46
5 changes: 1 addition & 4 deletions trunk/fs/ocfs2/aops.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,7 @@ static int ocfs2_readpage(struct file *file, struct page *page)
* XXX sys_readahead() seems to get that wrong?
*/
if (start >= i_size_read(inode)) {
char *addr = kmap(page);
memset(addr, 0, PAGE_SIZE);
flush_dcache_page(page);
kunmap(page);
zero_user_page(page, 0, PAGE_SIZE, KM_USER0);
SetPageUptodate(page);
ret = 0;
goto out_alloc;
Expand Down

0 comments on commit 1b5dc55

Please sign in to comment.