Commit 5c91d485 authored by KOSAKI Motohiro's avatar KOSAKI Motohiro Committed by james toy

build fix.

Signed-off-by: default avatarKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 85317a39
...@@ -692,7 +692,8 @@ int reiser4_write_begin_careful(struct file *file, ...@@ -692,7 +692,8 @@ int reiser4_write_begin_careful(struct file *file,
start = pos & (PAGE_CACHE_SIZE - 1); start = pos & (PAGE_CACHE_SIZE - 1);
end = start + len; end = start + len;
page = __grab_cache_page(mapping, index); page = grab_cache_page_write_begin(mapping, index,
flags & AOP_FLAG_NOFS);
*pagep = page; *pagep = page;
if (!page) if (!page)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment