aboutsummaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/reiserfs/inode.c')
-rw-r--r--fs/reiserfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c
index 145c2d3e5e01..ed04f47007f8 100644
--- a/fs/reiserfs/inode.c
+++ b/fs/reiserfs/inode.c
@@ -2561,7 +2561,7 @@ static int reiserfs_write_begin(struct file *file,
2561 } 2561 }
2562 2562
2563 index = pos >> PAGE_CACHE_SHIFT; 2563 index = pos >> PAGE_CACHE_SHIFT;
2564 page = __grab_cache_page(mapping, index); 2564 page = grab_cache_page_write_begin(mapping, index, flags);
2565 if (!page) 2565 if (!page)
2566 return -ENOMEM; 2566 return -ENOMEM;
2567 *pagep = page; 2567 *pagep = page;