diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-02-22 18:40:11 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-08 21:28:19 +0300 |
commit | 236d93c4bf2d6da83241cc8e4625e89d9604cb43 (patch) | |
tree | 68a9bb3fec17384dc7e778ba08170c99005ff9a0 /mm/folio-compat.c | |
parent | 832ee62d992d9b2d599a6dc70ac822dec4557ea4 (diff) | |
download | linux-236d93c4bf2d6da83241cc8e4625e89d9604cb43.tar.xz |
fs: Remove AOP_FLAG_NOFS
With all users of this flag gone, we can stop testing whether it's set.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'mm/folio-compat.c')
-rw-r--r-- | mm/folio-compat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/folio-compat.c b/mm/folio-compat.c index 46fa179e32fb..3e42ddb81918 100644 --- a/mm/folio-compat.c +++ b/mm/folio-compat.c @@ -135,8 +135,6 @@ struct page *grab_cache_page_write_begin(struct address_space *mapping, { unsigned fgp_flags = FGP_LOCK | FGP_WRITE | FGP_CREAT | FGP_STABLE; - if (flags & AOP_FLAG_NOFS) - fgp_flags |= FGP_NOFS; return pagecache_get_page(mapping, index, fgp_flags, mapping_gfp_mask(mapping)); } |