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>
Tue, 2 Aug 2022 16:34:02 +0000 (12:34 -0400)
commitb7a6eb22ba10f8f6104575dbbbe8c5ad36afd9ac
tree8fc7adb35da65d1f5f99acbdad61e7a4fc61735b
parent0b768a9610c6de9811c6d33900bebfb665192ee1
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