fs: Remove aop flags parameter from grab_cache_page_write_begin()
[linux-block.git] / fs / hostfs / hostfs_kern.c
index 14f9ac973a2ef29278768e272f90f9f49809a773..2bfd316e1bf179a5524d205ff149253db81a06c3 100644 (file)
@@ -468,7 +468,7 @@ static int hostfs_write_begin(struct file *file, struct address_space *mapping,
 {
        pgoff_t index = pos >> PAGE_SHIFT;
 
-       *pagep = grab_cache_page_write_begin(mapping, index, flags);
+       *pagep = grab_cache_page_write_begin(mapping, index);
        if (!*pagep)
                return -ENOMEM;
        return 0;