提交 d7414ba1 编写于 作者: M Matthew Wilcox (Oracle)

filemap: Remove AOP_FLAG_CONT_EXPAND

This flag is no longer used, so remove it.
Signed-off-by: NMatthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: NChristoph Hellwig <hch@lst.de>
Reviewed-by: NAl Viro <viro@zeniv.linux.org.uk>
Acked-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 800ba295
...@@ -2352,8 +2352,7 @@ int generic_cont_expand_simple(struct inode *inode, loff_t size) ...@@ -2352,8 +2352,7 @@ int generic_cont_expand_simple(struct inode *inode, loff_t size)
if (err) if (err)
goto out; goto out;
err = pagecache_write_begin(NULL, mapping, size, 0, err = pagecache_write_begin(NULL, mapping, size, 0, 0, &page, &fsdata);
AOP_FLAG_CONT_EXPAND, &page, &fsdata);
if (err) if (err)
goto out; goto out;
......
...@@ -275,7 +275,6 @@ enum positive_aop_returns { ...@@ -275,7 +275,6 @@ enum positive_aop_returns {
AOP_TRUNCATED_PAGE = 0x80001, AOP_TRUNCATED_PAGE = 0x80001,
}; };
#define AOP_FLAG_CONT_EXPAND 0x0001 /* called from cont_expand */
#define AOP_FLAG_NOFS 0x0002 /* used by filesystem to direct #define AOP_FLAG_NOFS 0x0002 /* used by filesystem to direct
* helper code (eg buffer layer) * helper code (eg buffer layer)
* to clear GFP_FS from alloc */ * to clear GFP_FS from alloc */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册