]> git.baikalelectronics.ru Git - kernel.git/commitdiff
filemap: Remove AOP_FLAG_CONT_EXPAND
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Feb 2022 03:28:03 +0000 (22:28 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 1 Apr 2022 18:40:44 +0000 (14:40 -0400)
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>
fs/buffer.c
include/linux/fs.h

index d67fbe063a3a95d084405cec30cc5a3b1b48df33..2b5561ae5d0b32b038131a77db6073a0eccddb7f 100644 (file)
@@ -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;
 
index 468dc7ec821f7d529807c5314907d4861c3cdb8c..bbde95387a23af8daf91f0926069a2090c35bd0f 100644 (file)
@@ -275,7 +275,6 @@ enum positive_aop_returns {
        AOP_TRUNCATED_PAGE      = 0x80001,
 };
 
-#define AOP_FLAG_CONT_EXPAND           0x0001 /* called from cont_expand */
 #define AOP_FLAG_NOFS                  0x0002 /* used by filesystem to direct
                                                * helper code (eg buffer layer)
                                                * to clear GFP_FS from alloc */