From: "Matthew Wilcox (Oracle)" <willy@infradead.org>
To: Kent Overstreet <kent.overstreet@gmail.com>,
linux-fsdevel@vger.kernel.org
Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Subject: [PATCH v2 2/3] bcachefs: Remove page_state_init_for_read
Date: Thu, 5 Nov 2020 23:28:38 +0000 [thread overview]
Message-ID: <20201105232839.23100-3-willy@infradead.org> (raw)
In-Reply-To: <20201105232839.23100-1-willy@infradead.org>
This is dead code; delete the function.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
---
fs/bcachefs/fs-io.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/fs/bcachefs/fs-io.c b/fs/bcachefs/fs-io.c
index 82794680a524..46abf3bdf489 100644
--- a/fs/bcachefs/fs-io.c
+++ b/fs/bcachefs/fs-io.c
@@ -647,12 +647,6 @@ static void bch2_readpages_end_io(struct bio *bio)
bio_put(bio);
}
-static inline void page_state_init_for_read(struct page *page)
-{
- SetPagePrivate(page);
- page->private = 0;
-}
-
struct readpages_iter {
struct address_space *mapping;
struct page **pages;
--
2.28.0
next prev parent reply other threads:[~2020-11-05 23:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-05 23:28 [PATCH v2 0/3] bcachefs: Convert to readahead Matthew Wilcox (Oracle)
2020-11-05 23:28 ` [PATCH v2 1/3] " Matthew Wilcox (Oracle)
2020-11-05 23:28 ` Matthew Wilcox (Oracle) [this message]
2020-11-05 23:28 ` [PATCH v2 3/3] bcachefs: Use attach_page_private and detach_page_private Matthew Wilcox (Oracle)
2020-11-05 23:49 ` [PATCH v2 0/3] bcachefs: Convert to readahead Kent Overstreet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201105232839.23100-3-willy@infradead.org \
--to=willy@infradead.org \
--cc=kent.overstreet@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).