diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-06-02 16:33:20 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-07-24 18:04:30 -0400 |
commit | 32b29cc9db455f69ac792c637aea11493bfaf1bc (patch) | |
tree | d7e267d273f145ae1514201b056d793833c194f6 /fs/iomap | |
parent | a221ab717c43147f728d93513923ba3528f861bf (diff) |
doc: Correct the description of ->release_folio
The filesystem ->release_folio method is called under more circumstances
now than when the documentation was written. The second sentence
describing the interpretation of the return value is the wrong polarity
(false indicates failure, not success). And the third sentence is also
wrong (the kernel calls try_to_free_buffers() instead).
So replace the entire paragraph with a detailed description of what the
state of the folio may be, the meaning of the gfp parameter, why the
method is being called and what the filesystem is expected to do.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/iomap')
0 files changed, 0 insertions, 0 deletions