fs/ntfs3: Missed error return

Fixes: 3f3b442b5a ("fs/ntfs3: Add bitmap")
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
This commit is contained in:
Konstantin Komarov 2024-06-17 13:43:09 +03:00
parent d392e85fd1
commit 2cbbd96820
No known key found for this signature in database
GPG key ID: A9B0331F832407B6

View file

@ -1382,7 +1382,7 @@ int wnd_extend(struct wnd_bitmap *wnd, size_t new_bits)
err = ntfs_vbo_to_lbo(sbi, &wnd->run, vbo, &lbo, &bytes);
if (err)
break;
return err;
bh = ntfs_bread(sb, lbo >> sb->s_blocksize_bits);
if (!bh)