]> www.infradead.org Git - users/willy/pagecache.git/commit
buffer: Don't test folio error in block_read_full_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 27 May 2022 03:19:49 +0000 (23:19 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:07 +0000 (08:51 -0400)
commitba457436991abc8e3cc830cfc91e9f54b53a07ed
treeb18730e13df3cff909326a7c1f5d7c0f9d3f4b15
parent964688b32d9ada55a7fce2e650d85ef24188f73f
buffer: Don't test folio error in block_read_full_folio()

We can cache this information in a local variable instead of communicating
from one part of the function to another via folio flags.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/buffer.c