Skip to content

Commit 2cbbd96

Browse files
fs/ntfs3: Missed error return
Fixes: 3f3b442 ("fs/ntfs3: Add bitmap") Signed-off-by: Konstantin Komarov <[email protected]>
1 parent d392e85 commit 2cbbd96

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
@@ -1382,7 +1382,7 @@ int wnd_extend(struct wnd_bitmap *wnd, size_t new_bits)
13821382

13831383
err = ntfs_vbo_to_lbo(sbi, &wnd->run, vbo, &lbo, &bytes);
13841384
if (err)
1385-
break;
1385+
return err;
13861386

13871387
bh = ntfs_bread(sb, lbo >> sb->s_blocksize_bits);
13881388
if (!bh)

0 commit comments

Comments
 (0)