summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-02-20 22:28:03 -0500
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-04-01 14:40:44 -0400
commitd7414ba14a3a67f81321069219dc7dbc095022c3 (patch)
tree7b2cabbeac6755ddff3093925b3ca4dc2815bf8f /fs
parent800ba29547e16d5fbe67ca764ba660e049e9f1bf (diff)
downloadlwn-d7414ba14a3a67f81321069219dc7dbc095022c3.tar.gz
lwn-d7414ba14a3a67f81321069219dc7dbc095022c3.zip
filemap: Remove AOP_FLAG_CONT_EXPAND
This flag is no longer used, so remove it. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index d67fbe063a3a..2b5561ae5d0b 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -2352,8 +2352,7 @@ int generic_cont_expand_simple(struct inode *inode, loff_t size)
if (err)
goto out;
- err = pagecache_write_begin(NULL, mapping, size, 0,
- AOP_FLAG_CONT_EXPAND, &page, &fsdata);
+ err = pagecache_write_begin(NULL, mapping, size, 0, 0, &page, &fsdata);
if (err)
goto out;