diff options
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/aops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index 36b3d2aaabbd..8e7cafb5fc6c 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c | |||
@@ -1087,7 +1087,7 @@ static ssize_t ocfs2_write(struct file *file, u32 phys, handle_t *handle, | |||
1087 | for(i = 0; i < numpages; i++) { | 1087 | for(i = 0; i < numpages; i++) { |
1088 | index = start + i; | 1088 | index = start + i; |
1089 | 1089 | ||
1090 | cpages[i] = grab_cache_page(mapping, index); | 1090 | cpages[i] = find_or_create_page(mapping, index, GFP_NOFS); |
1091 | if (!cpages[i]) { | 1091 | if (!cpages[i]) { |
1092 | ret = -ENOMEM; | 1092 | ret = -ENOMEM; |
1093 | mlog_errno(ret); | 1093 | mlog_errno(ret); |