]> git.baikalelectronics.ru Git - kernel.git/commit
buffer: Remove check for PageError
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 26 May 2022 20:03:43 +0000 (16:03 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:07 +0000 (08:51 -0400)
commitd2849b82eea3dc5251d8f22336a498896c45c65e
treed7943480394e377e49c335e4af6072de47df9b8b
parent93b073ded20ce2da59a6ea0434982b62052a8b5b
buffer: Remove check for PageError

If a buffer is completed with an error, its uptodate flag will be clear,
so the page_uptodate variable will have been set to 0.  There's no
need to check PageError here.

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