Skip to content

Commit 2051d09

Browse files
aalexandrovichsmb49
authored andcommitted
fs/ntfs3: Missed error return
BugLink: https://bugs.launchpad.net/bugs/2078428 [ Upstream commit 2cbbd96820255fff4f0ad1533197370c9ccc570b ] Fixes: 3f3b442 ("fs/ntfs3: Add bitmap") Signed-off-by: Konstantin Komarov <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Koichiro Den <[email protected]> Signed-off-by: Stefan Bader <[email protected]>
1 parent 799674b commit 2051d09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ntfs3/bitmap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,7 @@ int wnd_extend(struct wnd_bitmap *wnd, size_t new_bits)
13631363

13641364
err = ntfs_vbo_to_lbo(sbi, &wnd->run, vbo, &lbo, &bytes);
13651365
if (err)
1366-
break;
1366+
return err;
13671367

13681368
bh = ntfs_bread(sb, lbo >> sb->s_blocksize_bits);
13691369
if (!bh)

0 commit comments

Comments
 (0)