aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-05-17 23:38:37 -0400
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-08-02 12:34:03 -0400
commit98d8ba69ff1ac168e73ac509228c4701bf6c3b87 (patch)
treeeee2ed68f1cfb686ae43265403357da2e9ac7544 /mm
parentblock: Simplify read_part_sector() (diff)
downloadwireguard-linux-98d8ba69ff1ac168e73ac509228c4701bf6c3b87.tar.xz
wireguard-linux-98d8ba69ff1ac168e73ac509228c4701bf6c3b87.zip
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions