mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
fs: Remove aop flags parameter from grab_cache_page_write_begin()
There are no more aop flags left, so remove the parameter. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -141,13 +141,13 @@ mext_page_double_lock(struct inode *inode1, struct inode *inode2,
|
||||
}
|
||||
|
||||
flags = memalloc_nofs_save();
|
||||
page[0] = grab_cache_page_write_begin(mapping[0], index1, 0);
|
||||
page[0] = grab_cache_page_write_begin(mapping[0], index1);
|
||||
if (!page[0]) {
|
||||
memalloc_nofs_restore(flags);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
page[1] = grab_cache_page_write_begin(mapping[1], index2, 0);
|
||||
page[1] = grab_cache_page_write_begin(mapping[1], index2);
|
||||
memalloc_nofs_restore(flags);
|
||||
if (!page[1]) {
|
||||
unlock_page(page[0]);
|
||||
|
||||
Reference in New Issue
Block a user