diff options
author | 2022-05-17 23:38:37 -0400 | |
---|---|---|
committer | 2022-08-02 12:34:03 -0400 | |
commit | 98d8ba69ff1ac168e73ac509228c4701bf6c3b87 (patch) | |
tree | eee2ed68f1cfb686ae43265403357da2e9ac7544 /mm/z3fold.c | |
parent | block: Simplify read_part_sector() (diff) | |
download | wireguard-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/z3fold.c')
0 files changed, 0 insertions, 0 deletions