Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9315f130e11249457f5c3a7f74ee82a7065bd854 Commit: 9315f130e11249457f5c3a7f74ee82a7065bd854 Parent: 5fdf1e677127cb460c38733b9586b772d657be43 Author: Mark Fasheh <[EMAIL PROTECTED]> AuthorDate: Tue May 1 17:44:20 2007 -0700 Committer: Mark Fasheh <[EMAIL PROTECTED]> CommitDate: Wed May 2 15:08:34 2007 -0700
ocfs2: Force use of GFP_NOFS in ocfs2_write() We can otherwise recurse into the file system. Signed-off-by: Mark Fasheh <[EMAIL PROTECTED]> --- 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 36b3d2a..8e7cafb 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, 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); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html