Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
cb14d340
Commit
cb14d340
authored
Jun 27, 2012
by
Jan Kara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
udf: Use 'ret' instead of abusing 'i' in udf_load_logicalvol()
Signed-off-by:
Jan Kara
<
jack@suse.cz
>
parent
a01ee165
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
fs/udf/super.c
fs/udf/super.c
+2
-4
No files found.
fs/udf/super.c
View file @
cb14d340
...
...
@@ -1233,11 +1233,9 @@ static int udf_load_logicalvol(struct super_block *sb, sector_t block,
BUG_ON
(
ident
!=
TAG_IDENT_LVD
);
lvd
=
(
struct
logicalVolDesc
*
)
bh
->
b_data
;
i
=
udf_sb_alloc_partition_maps
(
sb
,
le32_to_cpu
(
lvd
->
numPartitionMaps
));
if
(
i
!=
0
)
{
ret
=
i
;
ret
=
udf_sb_alloc_partition_maps
(
sb
,
le32_to_cpu
(
lvd
->
numPartitionMaps
));
if
(
ret
)
goto
out_bh
;
}
for
(
i
=
0
,
offset
=
0
;
i
<
sbi
->
s_partitions
&&
offset
<
le32_to_cpu
(
lvd
->
mapTableLength
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment