diff options
Diffstat (limited to 'fs/libfs.c')
-rw-r--r-- | fs/libfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/libfs.c b/fs/libfs.c index e960a8321902..bdaec17fa388 100644 --- a/fs/libfs.c +++ b/fs/libfs.c | |||
@@ -360,7 +360,7 @@ int simple_write_begin(struct file *file, struct address_space *mapping, | |||
360 | index = pos >> PAGE_CACHE_SHIFT; | 360 | index = pos >> PAGE_CACHE_SHIFT; |
361 | from = pos & (PAGE_CACHE_SIZE - 1); | 361 | from = pos & (PAGE_CACHE_SIZE - 1); |
362 | 362 | ||
363 | page = __grab_cache_page(mapping, index); | 363 | page = grab_cache_page_write_begin(mapping, index, flags); |
364 | if (!page) | 364 | if (!page) |
365 | return -ENOMEM; | 365 | return -ENOMEM; |
366 | 366 | ||