aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/inline.c
diff options
context:
space:
mode:
authorGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2022-02-22 11:25:12 -0500
committerGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2022-05-08 14:28:19 -0400
commitb7446e7cf15f0926866c8e5de90ab278998bf8c8 (patch)
tree5f866124de19bd95d6db2cf06ae4dd10ba0156a0 /fs/ext4/inline.c
parentfs: Remove aop flags parameter from cont_write_begin() (diff)
downloadlinux-b7446e7cf15f0926866c8e5de90ab278998bf8c8.tar.gz
linux-b7446e7cf15f0926866c8e5de90ab278998bf8c8.tar.bz2
linux-b7446e7cf15f0926866c8e5de90ab278998bf8c8.zip
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>
Diffstat (limited to 'fs/ext4/inline.c')
-rw-r--r--fs/ext4/inline.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c
index b2ef5ba568bc..6d253edebf9f 100644
--- a/fs/ext4/inline.c
+++ b/fs/ext4/inline.c
@@ -563,7 +563,7 @@ retry:
/* We cannot recurse into the filesystem as the transaction is already
* started */
flags = memalloc_nofs_save();
- page = grab_cache_page_write_begin(mapping, 0, 0);
+ page = grab_cache_page_write_begin(mapping, 0);
memalloc_nofs_restore(flags);
if (!page) {
ret = -ENOMEM;
@@ -692,7 +692,7 @@ int ext4_try_to_write_inline_data(struct address_space *mapping,
goto out;
flags = memalloc_nofs_save();
- page = grab_cache_page_write_begin(mapping, 0, 0);
+ page = grab_cache_page_write_begin(mapping, 0);
memalloc_nofs_restore(flags);
if (!page) {
ret = -ENOMEM;
@@ -852,7 +852,7 @@ static int ext4_da_convert_inline_data_to_extent(struct address_space *mapping,
int ret = 0, inline_size;
struct page *page;
- page = grab_cache_page_write_begin(mapping, 0, 0);
+ page = grab_cache_page_write_begin(mapping, 0);
if (!page)
return -ENOMEM;
@@ -946,7 +946,7 @@ retry_journal:
* is already started.
*/
flags = memalloc_nofs_save();
- page = grab_cache_page_write_begin(mapping, 0, 0);
+ page = grab_cache_page_write_begin(mapping, 0);
memalloc_nofs_restore(flags);
if (!page) {
ret = -ENOMEM;