]> git.baikalelectronics.ru Git - kernel.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>
Tue, 2 Aug 2022 16:34:02 +0000 (12:34 -0400)
commit48ddc85f002258d5c0f36b683f75f34d8e47fa41
tree8fc7adb35da65d1f5f99acbdad61e7a4fc61735b
parent32e04c7ee20f5fa187ba85d5c7875044c6d83d24
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