diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-06-02 18:07:48 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-07-24 18:04:30 -0400 |
commit | 7a8eb01b078f6280089347feee02aebda0024880 (patch) | |
tree | 59e2eaf2d5fec3a24b231d3f4a7f54b6cb16819b /fs/nfs/nfstrace.h | |
parent | 32b29cc9db455f69ac792c637aea11493bfaf1bc (diff) |
iomap: Remove unnecessary test from iomap_release_folio()
The check for the folio being under writeback is unnecessary; the caller
has checked this and the folio is locked, so the folio cannot be under
writeback at this point.
The comment is somewhat misleading in that it talks about one specific
situation in which we can see a dirty folio. There are others, so change
the comment to explain why we can't release the iomap_page.
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/nfs/nfstrace.h')
0 files changed, 0 insertions, 0 deletions