File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -694,7 +694,7 @@ static int z_erofs_do_map_blocks(struct inode *inode,
694
694
map -> m_pa = blknr_to_addr (m .pblk );
695
695
err = z_erofs_get_extent_compressedlen (& m , initial_lcn );
696
696
if (err )
697
- goto out ;
697
+ goto unmap_out ;
698
698
}
699
699
700
700
if (m .headtype == Z_EROFS_VLE_CLUSTER_TYPE_PLAIN ) {
@@ -718,14 +718,12 @@ static int z_erofs_do_map_blocks(struct inode *inode,
718
718
if (!err )
719
719
map -> m_flags |= EROFS_MAP_FULL_MAPPED ;
720
720
}
721
+
721
722
unmap_out :
722
723
erofs_unmap_metabuf (& m .map -> buf );
723
-
724
- out :
725
724
erofs_dbg ("%s, m_la %llu m_pa %llu m_llen %llu m_plen %llu m_flags 0%o" ,
726
725
__func__ , map -> m_la , map -> m_pa ,
727
726
map -> m_llen , map -> m_plen , map -> m_flags );
728
-
729
727
return err ;
730
728
}
731
729
You can’t perform that action at this time.
0 commit comments