projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ocfs2: Fix deadlock when allocating page
[deliverable/linux.git]
/
fs
/
ocfs2
/
file.c
diff --git
a/fs/ocfs2/file.c
b/fs/ocfs2/file.c
index 6b2be0f2eacd3f451a00fee1897f415312a88720..2caa3a7a1a39291bddd6208123858ea67ee9c43b 100644
(file)
--- a/
fs/ocfs2/file.c
+++ b/
fs/ocfs2/file.c
@@
-783,7
+783,7
@@
static int ocfs2_write_zero_page(struct inode *inode, u64 abs_from,
BUG_ON(abs_to > (((u64)index + 1) << PAGE_CACHE_SHIFT));
BUG_ON(abs_from & (inode->i_blkbits - 1));
- page =
grab_cache_page(mapping, index
);
+ page =
find_or_create_page(mapping, index, GFP_NOFS
);
if (!page) {
ret = -ENOMEM;
mlog_errno(ret);
This page took
0.038254 seconds
and
5
git commands to generate.