Re: [PATCH v14 076/138] mm/writeback: Add folio_redirty_for_writepage()

From
Matthew Wilcox <willy@infradead.org>
Date
2021-08-15 15:36:02
Also in
linux-mm, lkml
Reply to
Vlastimil Babka, 2021-08-12
On Thu, Aug 12, 2021 at 06:30:51PM +0200, Vlastimil Babka wrote:
quoted
+/**
+ * folio_redirty_for_writepage - Decline to write a dirty folio.
+ * @wbc: The writeback control.
+ * @folio: The folio.
+ *
+ * When a writepage implementation decides that it doesn't want to write
+ * @folio for some reason, it should call this function, unlock @folio and
+ * return 0.
s/0/false
... no?  This sentence describes what a writepage implementation should
do, and writepage returns an int, not bool.
Thread (389 messages) 389 messages, 13 authors, last reply 2021-08-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help