13 lines
396 B
Diff
13 lines
396 B
Diff
|
--- a/fs/reiser4/plugin/file/file_conversion.c
|
||
|
+++ b/fs/reiser4/plugin/file/file_conversion.c
|
||
|
@@ -686,7 +686,8 @@ int reiser4_write_begin_careful(struct f
|
||
|
start = pos & (PAGE_CACHE_SIZE - 1);
|
||
|
end = start + len;
|
||
|
|
||
|
- page = __grab_cache_page(mapping, index);
|
||
|
+ page = grab_cache_page_write_begin(mapping, index,
|
||
|
+ flags & AOP_FLAG_NOFS);
|
||
|
*pagep = page;
|
||
|
if (!page)
|
||
|
return -ENOMEM;
|