提交 9315f130 编写于 作者: M Mark Fasheh

ocfs2: Force use of GFP_NOFS in ocfs2_write()

We can otherwise recurse into the file system.
Signed-off-by: NMark Fasheh <mark.fasheh@oracle.com>
上级 5fdf1e67
......@@ -1087,7 +1087,7 @@ static ssize_t ocfs2_write(struct file *file, u32 phys, handle_t *handle,
for(i = 0; i < numpages; i++) {
index = start + i;
cpages[i] = grab_cache_page(mapping, index);
cpages[i] = find_or_create_page(mapping, index, GFP_NOFS);
if (!cpages[i]) {
ret = -ENOMEM;
mlog_errno(ret);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册