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)
commit6e8e79fc84435c159891182cddab8e7784e1b3b2
treed7943480394e377e49c335e4af6072de47df9b8b
parent9329883a1c9b200bfe7f3c9e5338c407a690e39b
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