]> www.infradead.org Git - users/willy/pagecache.git/commit
block: Handle partition read errors more consistently
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 18 May 2022 03:38:37 +0000 (23:38 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:07 +0000 (08:51 -0400)
commita340b79b299109ded6928157dc24cf0fb6a90823
tree56daa86b747174e2b4f19ea7a7542feefb1165c1
parent1cf29f882fa8e28e18cccc9b0a7e94e391b3291f
block: Handle partition read errors more consistently

Set p->v to NULL if we try to read beyond the end of the disk, just like
we do if we get an error returned from trying to read the disk.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
block/partitions/core.c