linamh/sys-kernel/geos_one-sources/files/fix-reiser4-for-2.6.28.1.patch
2009-01-27 16:27:53 +00:00

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;