mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
fs/ntfs3: Missed error return
[ Upstream commit2cbbd96820
] Fixes:3f3b442b5a
("fs/ntfs3: Add bitmap") Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
d058e1b645
commit
72c93b1e90
@ -1356,7 +1356,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)
|
||||
|
Loading…
Reference in New Issue
Block a user