]> 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)
commit366c1a56813cc41147ae477489bf8daeab586be7
tree8fc7adb35da65d1f5f99acbdad61e7a4fc61735b
parent3336b872047ee76da32a3b11aef0d612d65a638c
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