Loading fs/affs/file.c +1 −1 Original line number Diff line number Diff line Loading @@ -670,7 +670,7 @@ static int affs_write_begin_ofs(struct file *file, struct address_space *mapping } index = pos >> PAGE_SHIFT; page = grab_cache_page_write_begin(mapping, index, flags); page = grab_cache_page_write_begin(mapping, index); if (!page) return -ENOMEM; *pagep = page; Loading fs/buffer.c +2 −2 Original line number Diff line number Diff line Loading @@ -2110,7 +2110,7 @@ int block_write_begin(struct address_space *mapping, loff_t pos, unsigned len, struct page *page; int status; page = grab_cache_page_write_begin(mapping, index, 0); page = grab_cache_page_write_begin(mapping, index); if (!page) return -ENOMEM; Loading Loading @@ -2591,7 +2591,7 @@ int nobh_write_begin(struct address_space *mapping, from = pos & (PAGE_SIZE - 1); to = from + len; page = grab_cache_page_write_begin(mapping, index, flags); page = grab_cache_page_write_begin(mapping, index); if (!page) return -ENOMEM; *pagep = page; Loading fs/cifs/file.c +1 −1 Original line number Diff line number Diff line Loading @@ -4695,7 +4695,7 @@ static int cifs_write_begin(struct file *file, struct address_space *mapping, cifs_dbg(FYI, "write_begin from %lld len %d\n", (long long)pos, len); start: page = grab_cache_page_write_begin(mapping, index, flags); page = grab_cache_page_write_begin(mapping, index); if (!page) { rc = -ENOMEM; goto out; Loading fs/ecryptfs/mmap.c +1 −1 Original line number Diff line number Diff line Loading @@ -272,7 +272,7 @@ static int ecryptfs_write_begin(struct file *file, loff_t prev_page_end_size; int rc = 0; page = grab_cache_page_write_begin(mapping, index, flags); page = grab_cache_page_write_begin(mapping, index); if (!page) return -ENOMEM; *pagep = page; Loading fs/ext4/inline.c +4 −4 Original line number Diff line number Diff line Loading @@ -563,7 +563,7 @@ static int ext4_convert_inline_data_to_extent(struct address_space *mapping, /* 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; Loading Loading @@ -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; Loading Loading @@ -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; Loading Loading @@ -946,7 +946,7 @@ int ext4_da_write_inline_data_begin(struct address_space *mapping, * 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; Loading Loading
fs/affs/file.c +1 −1 Original line number Diff line number Diff line Loading @@ -670,7 +670,7 @@ static int affs_write_begin_ofs(struct file *file, struct address_space *mapping } index = pos >> PAGE_SHIFT; page = grab_cache_page_write_begin(mapping, index, flags); page = grab_cache_page_write_begin(mapping, index); if (!page) return -ENOMEM; *pagep = page; Loading
fs/buffer.c +2 −2 Original line number Diff line number Diff line Loading @@ -2110,7 +2110,7 @@ int block_write_begin(struct address_space *mapping, loff_t pos, unsigned len, struct page *page; int status; page = grab_cache_page_write_begin(mapping, index, 0); page = grab_cache_page_write_begin(mapping, index); if (!page) return -ENOMEM; Loading Loading @@ -2591,7 +2591,7 @@ int nobh_write_begin(struct address_space *mapping, from = pos & (PAGE_SIZE - 1); to = from + len; page = grab_cache_page_write_begin(mapping, index, flags); page = grab_cache_page_write_begin(mapping, index); if (!page) return -ENOMEM; *pagep = page; Loading
fs/cifs/file.c +1 −1 Original line number Diff line number Diff line Loading @@ -4695,7 +4695,7 @@ static int cifs_write_begin(struct file *file, struct address_space *mapping, cifs_dbg(FYI, "write_begin from %lld len %d\n", (long long)pos, len); start: page = grab_cache_page_write_begin(mapping, index, flags); page = grab_cache_page_write_begin(mapping, index); if (!page) { rc = -ENOMEM; goto out; Loading
fs/ecryptfs/mmap.c +1 −1 Original line number Diff line number Diff line Loading @@ -272,7 +272,7 @@ static int ecryptfs_write_begin(struct file *file, loff_t prev_page_end_size; int rc = 0; page = grab_cache_page_write_begin(mapping, index, flags); page = grab_cache_page_write_begin(mapping, index); if (!page) return -ENOMEM; *pagep = page; Loading
fs/ext4/inline.c +4 −4 Original line number Diff line number Diff line Loading @@ -563,7 +563,7 @@ static int ext4_convert_inline_data_to_extent(struct address_space *mapping, /* 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; Loading Loading @@ -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; Loading Loading @@ -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; Loading Loading @@ -946,7 +946,7 @@ int ext4_da_write_inline_data_begin(struct address_space *mapping, * 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; Loading