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
nexedi
linux
Commits
b3884646
Commit
b3884646
authored
Aug 17, 2003
by
Russell King
Committed by
Linus Torvalds
Aug 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix Acorn Eesox partition handling build
parent
443848af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
fs/partitions/acorn.c
fs/partitions/acorn.c
+6
-6
No files found.
fs/partitions/acorn.c
View file @
b3884646
...
...
@@ -517,7 +517,7 @@ adfspart_check_EESOX(struct parsed_partitions *state, struct block_device *bdev)
const
unsigned
char
*
data
;
unsigned
char
buffer
[
256
];
struct
eesox_part
*
p
;
u32
start
=
0
;
sector_t
start
=
0
;
int
i
,
slot
=
1
;
data
=
read_dev_sector
(
bdev
,
7
,
&
sect
);
...
...
@@ -533,22 +533,22 @@ adfspart_check_EESOX(struct parsed_partitions *state, struct block_device *bdev)
put_dev_sector
(
sect
);
for
(
i
=
0
,
p
=
(
struct
eesox_part
*
)
buffer
;
i
<
8
;
i
++
,
p
++
)
{
u32
next
;
sector_t
next
;
if
(
memcmp
(
p
->
magic
,
"Eesox"
,
6
))
break
;
next
=
le32_to_cpu
(
p
->
start
)
+
first_sector
;
next
=
le32_to_cpu
(
p
->
start
);
if
(
i
)
put_partition
(
state
,
slot
++
,
start
,
next
-
start
);
start
=
next
;
}
if
(
i
!=
0
)
{
unsigned
long
size
;
sector_t
size
;
size
=
hd
->
part
[
minor
(
to_kdev_t
(
bdev
->
bd_dev
))].
nr_sects
;
add_gd_partition
(
hd
,
minor
++
,
start
,
size
-
start
);
size
=
get_capacity
(
bdev
->
bd_disk
)
;
put_partition
(
state
,
slot
++
,
start
,
size
-
start
);
printk
(
"
\n
"
);
}
...
...
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