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:
committed by
Greg Kroah-Hartman
parent
f99a44c33f
commit
dc31856c99
+1
-1
@@ -1363,7 +1363,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)
|
||||
|
||||
Reference in New Issue
Block a user