commit | 9315f130e11249457f5c3a7f74ee82a7065bd854 | [log] [tgz] |
---|---|---|
author | Mark Fasheh <mark.fasheh@oracle.com> | Tue May 01 17:44:20 2007 -0700 |
committer | Mark Fasheh <mark.fasheh@oracle.com> | Wed May 02 15:08:34 2007 -0700 |
tree | dd2a3671ec0696b52bc98c937d0465b7b8782cdb | |
parent | 5fdf1e677127cb460c38733b9586b772d657be43 [diff] |
ocfs2: Force use of GFP_NOFS in ocfs2_write() We can otherwise recurse into the file system. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
diff --git a/fs/ocfs2/aops.c b/fs/ocfs2/aops.c index 36b3d2a..8e7cafb5 100644 --- a/fs/ocfs2/aops.c +++ b/fs/ocfs2/aops.c
@@ -1087,7 +1087,7 @@ 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);