]> git.ipfire.org Git - people/ms/linux.git/commitdiff
fs: Remove aop flags parameter from cont_write_begin()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 22 Feb 2022 16:25:12 +0000 (11:25 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 8 May 2022 18:28:19 +0000 (14:28 -0400)
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>
fs/adfs/inode.c
fs/affs/file.c
fs/buffer.c
fs/exfat/inode.c
fs/fat/inode.c
fs/hfs/inode.c
fs/hfsplus/inode.c
fs/hpfs/file.c
include/linux/buffer_head.h

index 561bc748c04a0f410ac1a3539cae428e6e037aa4..b6912496bb19a88ee7ac37e528bfad24effbf7db 100644 (file)
@@ -58,7 +58,7 @@ static int adfs_write_begin(struct file *file, struct address_space *mapping,
        int ret;
 
        *pagep = NULL;
-       ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
+       ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata,
                                adfs_get_block,
                                &ADFS_I(mapping->host)->mmu_private);
        if (unlikely(ret))
index b3f81d84ff4cf70e2e5696bcc1f391c7db0c0f87..704911d6aeba3176cc43afb1f33e507e623e47fe 100644 (file)
@@ -420,7 +420,7 @@ static int affs_write_begin(struct file *file, struct address_space *mapping,
        int ret;
 
        *pagep = NULL;
-       ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
+       ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata,
                                affs_get_block,
                                &AFFS_I(mapping->host)->mmu_private);
        if (unlikely(ret))
index 4ec6eb03c0eb551ff0243c1a4854a7f3faccdc96..fb97646d197747cf5eec34d8fa9ed0ff9b3835e8 100644 (file)
@@ -2441,7 +2441,7 @@ out:
  * We may have to extend the file.
  */
 int cont_write_begin(struct file *file, struct address_space *mapping,
-                       loff_t pos, unsigned len, unsigned flags,
+                       loff_t pos, unsigned len,
                        struct page **pagep, void **fsdata,
                        get_block_t *get_block, loff_t *bytes)
 {
index fc0ea16848803d5df36d0039a8cac18be1919226..8ed3c4b700cd0fd0ad19d0dbdf612fde72e893f6 100644 (file)
@@ -395,7 +395,7 @@ static int exfat_write_begin(struct file *file, struct address_space *mapping,
        int ret;
 
        *pagep = NULL;
-       ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
+       ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata,
                               exfat_get_block,
                               &EXFAT_I(mapping->host)->i_size_ondisk);
 
index bf6051bdf1d1d98ccc0ce64dd720734080f28a94..9b34ccef25012ba9763e467967a580fe85818328 100644 (file)
@@ -232,7 +232,7 @@ static int fat_write_begin(struct file *file, struct address_space *mapping,
        int err;
 
        *pagep = NULL;
-       err = cont_write_begin(file, mapping, pos, len, flags,
+       err = cont_write_begin(file, mapping, pos, len,
                                pagep, fsdata, fat_get_block,
                                &MSDOS_I(mapping->host)->mmu_private);
        if (err < 0)
index 55f45e9b4930e3cfd1968b6a1fd6d83018cb3ec6..396735dd3407fdfdff0ca616928b1d6422ed60ff 100644 (file)
@@ -56,7 +56,7 @@ static int hfs_write_begin(struct file *file, struct address_space *mapping,
        int ret;
 
        *pagep = NULL;
-       ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
+       ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata,
                                hfs_get_block,
                                &HFS_I(mapping->host)->phys_size);
        if (unlikely(ret))
index 446a816aa8e1e2e20a497441b5cf6b7b63e7e8e6..435b6202532ae00c3bdcc78d5dcac883d2a31f1d 100644 (file)
@@ -50,7 +50,7 @@ static int hfsplus_write_begin(struct file *file, struct address_space *mapping,
        int ret;
 
        *pagep = NULL;
-       ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
+       ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata,
                                hfsplus_get_block,
                                &HFSPLUS_I(mapping->host)->phys_size);
        if (unlikely(ret))
index 99493a23c5d0c2ecfb48697d756a28fb2177fea9..8740b4ea0b52c50857577126728eac584965ebe9 100644 (file)
@@ -200,7 +200,7 @@ static int hpfs_write_begin(struct file *file, struct address_space *mapping,
        int ret;
 
        *pagep = NULL;
-       ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
+       ret = cont_write_begin(file, mapping, pos, len, pagep, fsdata,
                                hpfs_get_block,
                                &hpfs_i(mapping->host)->mmu_private);
        if (unlikely(ret))
index 63e49dfa773888c3d0d8be8627cef5124f7244a0..127b60fad77e87269ab3d5ae9c2eb33382b6e151 100644 (file)
@@ -238,7 +238,7 @@ int generic_write_end(struct file *, struct address_space *,
 void page_zero_new_buffers(struct page *page, unsigned from, unsigned to);
 void clean_page_buffers(struct page *page);
 int cont_write_begin(struct file *, struct address_space *, loff_t,
-                       unsigned, unsigned, struct page **, void **,
+                       unsigned, struct page **, void **,
                        get_block_t *, loff_t *);
 int generic_cont_expand_simple(struct inode *inode, loff_t size);
 int block_commit_write(struct page *page, unsigned from, unsigned to);