Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
587f7704
Commit
587f7704
authored
Apr 11, 2008
by
Chris Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Fixup a few u64<->pointer casts for 32 bit
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
3dd39914
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
fs/btrfs/inode.c
fs/btrfs/inode.c
+5
-3
No files found.
fs/btrfs/inode.c
View file @
587f7704
...
...
@@ -430,9 +430,10 @@ int btrfs_readpage_io_failed_hook(struct bio *failed_bio,
free_extent_map
(
em
);
set_extent_bits
(
failure_tree
,
start
,
end
,
EXTENT_LOCKED
|
EXTENT_DIRTY
,
GFP_NOFS
);
set_state_private
(
failure_tree
,
start
,
(
u64
)
failrec
);
set_state_private
(
failure_tree
,
start
,
(
u64
)(
unsigned
long
)
failrec
);
}
else
{
failrec
=
(
struct
io_failure_record
*
)
private
;
failrec
=
(
struct
io_failure_record
*
)
(
unsigned
long
)
private
;
}
num_copies
=
btrfs_num_copies
(
&
BTRFS_I
(
inode
)
->
root
->
fs_info
->
mapping_tree
,
...
...
@@ -511,7 +512,8 @@ int btrfs_readpage_end_io_hook(struct page *page, u64 start, u64 end,
ret
=
get_state_private
(
&
BTRFS_I
(
inode
)
->
io_failure_tree
,
start
,
&
private_failure
);
if
(
ret
==
0
)
{
failure
=
(
struct
io_failure_record
*
)
private_failure
;
failure
=
(
struct
io_failure_record
*
)(
unsigned
long
)
private_failure
;
set_state_private
(
&
BTRFS_I
(
inode
)
->
io_failure_tree
,
failure
->
start
,
0
);
clear_extent_bits
(
&
BTRFS_I
(
inode
)
->
io_failure_tree
,
...
...
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