Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292399
b: refs/heads/master
c: 220cca2
h: refs/heads/master
i:
  292397: 1bf89c5
  292395: b256b4f
  292391: 3510a84
  292383: ccd29c7
v: v3
  • Loading branch information
Bob Peterson authored and Steven Whitehouse committed Mar 20, 2012
1 parent 1c2663b commit 1b06b19
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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: 58a7d5fb8e31279b992db4027e44b053a84b7344
refs/heads/master: 220cca2a4f5867db595135e0450381032eb54902
4 changes: 2 additions & 2 deletions trunk/fs/gfs2/bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static int gfs2_unstuffer_page(struct gfs2_inode *ip, struct buffer_head *dibh,
int release = 0;

if (!page || page->index) {
page = grab_cache_page(inode->i_mapping, 0);
page = find_or_create_page(inode->i_mapping, 0, GFP_NOFS);
if (!page)
return -ENOMEM;
release = 1;
Expand Down Expand Up @@ -930,7 +930,7 @@ static int gfs2_block_truncate_page(struct address_space *mapping, loff_t from)
struct page *page;
int err;

page = grab_cache_page(mapping, index);
page = find_or_create_page(mapping, index, GFP_NOFS);
if (!page)
return 0;

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/gfs2/quota.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ static int gfs2_adjust_quota(struct gfs2_inode *ip, loff_t loc,
ptr = qp;
nbytes = sizeof(struct gfs2_quota);
get_a_page:
page = grab_cache_page(mapping, index);
page = find_or_create_page(mapping, index, GFP_NOFS);
if (!page)
return -ENOMEM;

Expand Down

0 comments on commit 1b06b19

Please sign in to comment.